fix(ci): revert SLSA reusable workflow to tag pin#322
Merged
Conversation
Renovate PR #284 re-pinned the SLSA generator to a SHA digest, breaking provenance generation on the v0.37.0 release. The SLSA generator's generate-builder.sh rejects non-tag refs. This is the same fix as #250. A Renovate exclusion rule has been added to archgate/renovate-config (PR #10) to prevent recurrence. Ref: slsa-framework/slsa-github-generator#150 Signed-off-by: Rhuan Barreto <rhuan@barreto.work>
Deploying archgate-cli with
|
| Latest commit: |
60365ef
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://25fab17b.archgate-cli.pages.dev |
| Branch Preview URL: | https://fix-slsa-tag-pin.archgate-cli.pages.dev |
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
@f7dd8c54c...) back to tag pin (@v2.1.0)Context
The SLSA generator's
generate-builder.shreads the workflow ref to download the prebuilt builder binary. It rejects non-tag refs (Invalid ref: Expected ref of the form refs/tags/vX.Y.Z). This is the same fix as #250.Upstream issue: slsa-framework/slsa-github-generator#150
Test plan
workflow_dispatch— SLSA provenance should pass