fix(sbom): replace DependencyTrack/gh-upload-sbom node20 action with curl#80
Merged
Conversation
…curl DependencyTrack/gh-upload-sbom@v3 (latest: v3.1.0) uses node20 runtime, which is deprecated in GitHub Actions. No node22+ release exists upstream. Replaces the action with an equivalent run: step using base64 + jq + curl, replicating the same PUT /api/v1/bom JSON payload including projectTags. All secrets passed through env: vars. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
SBoM Vulnerability Scan ResultsScan Summary:
SBoM Details:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
DependencyTrack/gh-upload-sbom@v3(latest:v3.1.0) usesnode20runtime — deprecated in GitHub Actions, no upstream fix existsrun:step usingbase64+jq+curlPUT /api/v1/bomJSON payload the action sends:projectName,projectVersion,autoCreate: true,bom(base64, UTF-8 BOM stripped),projectTags(comma-separated →[{name}]array)env:vars — no injection riskAll other actions in the workflows are already on node24 or composite.
Test plan
🤖 Generated with Claude Code