ci: bump slsa-github-generator to v2.1.0 (fix provenance attach)#5
Merged
Conversation
v2.0.0 still uses the actions/artifact v3 backend, which GitHub shut down in Jan 2025; the provenance upload-assets step fails with an empty UNTRUSTED_PATH so no .intoto.jsonl is attached to the release. v2.1.0 migrated to artifact v4 and fixes the attachment.
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.
Summary
v2.0.0→v2.1.0(pinned to commitf7dd8c5).Why
The
v0.1.0-rc.1release dry-run built, signed, and published all 5 archives correctly, but the SLSAupload-assetsjob failed with an emptyUNTRUSTED_PATH, so no.intoto.jsonlwas attached. Root cause:v2.0.0uses theactions/artifactv3 backend that GitHub shut down in Jan 2025.v2.1.0migrated to artifact v4.Test plan
v0.1.0-rc.2) → SLSAfinaljob passes andmultiple.intoto.jsonlis attached to the prerelease.