build(release): signed releases via goreleaser + cosign#35
Merged
adrianbrad merged 1 commit intomainfrom Apr 20, 2026
Merged
Conversation
On v* tag push, run goreleaser to: - build a source tarball (library, no binaries) - generate SPDX SBOM via syft - emit checksums.txt - sign every artifact with cosign keyless (Sigstore OIDC via the GitHub Actions token) - publish a GitHub Release with notes grouped by conventional commit type Lifts Scorecard's Signed-Releases from '?' to 10/10 once the first tagged release cuts.
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #35 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 5 5
Lines 442 442
=========================================
Hits 442 442
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds an on-tag release workflow to close Scorecard's
Signed-Releasesgap.What runs on
git push --tagsgoreleaser release --clean, which:builds: skip: true)checksums.txtVerification for consumers
Example from the generated release notes:
cosign verify-blob \ --certificate checksums.txt.pem \ --signature checksums.txt.sig \ --certificate-identity-regexp '^https://github.com/adrianbrad/queue/\.github/workflows/release\.yaml@refs/tags/' \ --certificate-oidc-issuer https://token.actions.githubusercontent.com \ checksums.txtScorecard impact
Signed-Releases:?→ 10/10 (after first tagged release cuts)Test plan
goreleaser check .goreleaser.yamlpasses viaghcr.io/goreleaser/goreleaser:latestv1.4.1) after merge and confirm the workflow publishes a signed GitHub Releasescorecard --repo=...to verifySigned-Releaseslift