We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8305aeb commit 74f557aCopy full SHA for 74f557a
1 file changed
.github/workflows/release.yaml
@@ -430,6 +430,17 @@ jobs:
430
# Move SHA256SUMS to release-files
431
mv SHA256SUMS release-files/
432
433
+ - name: Generate and Download SBOM from GitHub
434
+ env:
435
+ GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
436
+ run: |
437
+ echo "Fetching SBOM from GitHub Dependency Graph API..."
438
+ gh api \
439
+ -H "Accept: application/vnd.github+json" \
440
+ -H "X-GitHub-Api-Version: 2022-11-28" \
441
+ /repos/${{ github.repository }}/dependency-graph/sbom | jq -r '.sbom' > sbom.json
442
+ mv sbom.json release-files/
443
+
444
- name: Verify release files
445
run: |
446
echo "=== Final release file count ==="
0 commit comments