Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Jan 17, 2026

The release workflow was generating SBOM files before creating the GitHub release, then uploading both binaries and SBOMs atomically. This meant SBOM generation blocked the release creation.

Changes

  • Release creation: Now creates release with binaries only, returns immediately
  • SBOM generation: Moved to execute after release exists (SPDX + CycloneDX formats)
  • SBOM upload: Added separate step using gh release upload to attach SBOMs to existing release
  • Docker SBOM: Unchanged, still generates after Docker build step

Workflow order

Before:

Build binaries → Generate SBOMs → Create release (binaries + SBOMs)

After:

Build binaries → Create release (binaries) → Generate SBOMs → Upload SBOMs to release

This decouples SBOM generation from release creation, allowing the release to publish faster while still providing the same artifacts.

Original prompt

Move SBOM generation step after the release is created in release.md


💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

Copilot AI and others added 2 commits January 17, 2026 22:29
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
- Moved SBOM generation steps (SPDX and CycloneDX) to after release creation
- Release is now created with binaries only, SBOM files uploaded separately
- Added new step to upload SBOM files to existing release after generation
- Updated specs/artifacts.md to reflect SBOM artifacts now uploaded from release job

Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Copilot AI changed the title [WIP] Move SBOM generation step after release creation Move SBOM generation after release creation in release workflow Jan 17, 2026
Copilot AI requested a review from pelikhan January 17, 2026 22:36
@pelikhan pelikhan marked this pull request as ready for review January 17, 2026 22:49
@pelikhan pelikhan merged commit 3fc1435 into main Jan 17, 2026
@pelikhan pelikhan deleted the copilot/move-sbom-generation-step branch January 17, 2026 22:49
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.

2 participants