Skip to content

feat(release): attach a CycloneDX SBOM to the GitHub release#18

Merged
Saturate merged 1 commit into
mainfrom
feat/release-sbom
Jun 15, 2026
Merged

feat(release): attach a CycloneDX SBOM to the GitHub release#18
Saturate merged 1 commit into
mainfrom
feat/release-sbom

Conversation

@Saturate

Copy link
Copy Markdown
Owner

Generates a Software Bill of Materials on each release using the native pnpm sbom command (available since the pnpm 11 bump) and uploads it as a GitHub release asset.

  • pnpm sbom --sbom-format cyclonedx --prod > sbom.cdx.json — CycloneDX 1.7 JSON, production deps only (matches what's published to npm).
  • Attached via gh release create … sbom.cdx.json.
  • sbom.cdx.json is gitignored and already excluded from the npm tarball by the files allowlist.

Verified the command output locally; the release job only runs on tag push, so CI here won't exercise it.

Generate a production SBOM with the native `pnpm sbom` command (pnpm 11)
and upload it as a release asset, so each tag ships a Bill of Materials
for the published dependency tree. Prod-only matches what npm publishes;
the file is gitignored and excluded from the npm tarball by `files`.
@Saturate Saturate merged commit 8ed9f8d into main Jun 15, 2026
3 checks passed
@Saturate Saturate deleted the feat/release-sbom branch June 15, 2026 12:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant