Skip to content

Conversation

martincostello
Copy link
Member

Generate an SBOM for the build artifacts.

Generate an SBOM for the build artifacts.
@martincostello martincostello added CI/build dependencies Pull requests that update a dependency file github_actions Pull requests that update GitHub Actions code labels Jun 12, 2025
Underscore not dash.
Copy link

codecov bot commented Jun 12, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 96.23%. Comparing base (52844cc) to head (ad3b72b).
Report is 1 commits behind head on main.

✅ 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           
Flag Coverage Δ
linux 96.23% <ø> (ø)
macos 96.23% <ø> (ø)
windows 96.22% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@martincostello martincostello marked this pull request as ready for review June 12, 2025 15:59
@Copilot Copilot AI review requested due to automatic review settings June 12, 2025 15:59
@martincostello martincostello merged commit 47df6aa into main Jun 12, 2025
26 checks passed
@martincostello martincostello deleted the generate-sbom branch June 12, 2025 15:59
@martincostello martincostello added this to the v8.6.1 milestone Jun 12, 2025
Copy link

@Copilot Copilot AI left a 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 the artifact-name and avoid collisions.
        output-file: ./artifacts/build.spdx.json

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CI/build dependencies Pull requests that update a dependency file github_actions Pull requests that update GitHub Actions code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant