-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Generate SBOM #2640
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Generate SBOM #2640
Conversation
Generate an SBOM for the build artifacts.
Underscore not dash.
Codecov ReportAll modified and coverable lines are covered by tests ✅
✅ All tests successful. No failed tests found. Additional details and impacted files@@ Coverage Diff @@
## main #2640 +/- ##
=======================================
Coverage 96.23% 96.23%
=======================================
Files 311 311
Lines 7329 7329
Branches 1013 1013
=======================================
Hits 7053 7053
Misses 222 222
Partials 54 54
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR integrates SBOM (Software Bill of Materials) generation into the existing build workflow to produce and optionally upload SPDX JSON artifacts for each OS matrix job.
- Adds a new step using
anchore/sbom-action
to generate SBOMs for build outputs. - Configures per-OS artifact naming and conditional release asset upload.
Comments suppressed due to low confidence (1)
.github/workflows/build.yml:143
- The
output-file
path is constant across matrix runs and will be overwritten by each OS job. Consider parameterizing the filename (e.g.,./artifacts/build-${{ matrix.os_name }}.spdx.json
) to match theartifact-name
and avoid collisions.
output-file: ./artifacts/build.spdx.json
Generate an SBOM for the build artifacts.