Repository navigation
ci: reusable source-release workflow (SLSA Build L3) - #11
Merged
Merged
Conversation
There was a problem hiding this comment.
🟢 Approval recommended
No active review issues are recorded for the reusable source-release workflow.
No open issues 🎉
What changed in this PR
Adds a reusable source-release workflow for libraries to call by commit SHA, moving release builds into a separate workflow to support SLSA v1 Build Level 3 provenance.
Changes:
- Builds a tagged source tarball and generates an SPDX SBOM.
- Attests the tarball’s provenance and SBOM using pinned actions.
- Publishes a GitHub release containing the tarball, SBOM, and provenance bundle.
| File | Description |
|---|---|
.github/workflows/release-source.yml |
Adds the reusable build, attestation, and release-publishing workflow. |
Review effort: Balanced
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.
Moves the libraries' release build into a reusable workflow here, so their provenance is signed by
Totative/.github/.github/workflows/release-source.ymland the calling repository's steps cannot touch the build: SLSA v1 Build Level 3 per GitHub's guide. Same steps and pinned actions as the libraries' current release.yml. Each library's release.yml then calls this by commit SHA in a follow-up PR.