fix(release): use plain tag ref for SLSA provenance reusable workflow - #315
Merged
Conversation
The slsa-github-generator generic builder's fetch-builder step derives the trusted builder release from the caller's own ref, and requires a ref of the form refs/tags/vX.Y.Z -- a SHA pin fails with "Invalid ref: ... Expected ref of the form refs/tags/vX.Y.Z". This has failed the SLSA provenance job on every recent release (v1.4.0, v1.5.0, v1.6.0). Switch to the plain @v2.1.0 tag form, per the generator's own docs and the pattern used by HashiCorp Packer and Google FlatBuffers. Agentflare-Agent: claude-code_2-1-218_agent Agentflare-Branch: fix/slsa-provenance-tag-ref
Agentflare-Agent: claude-code_2-1-218_agent Agentflare-Branch: fix/slsa-provenance-tag-ref
…-tag-ref Agentflare-Agent: claude-code_2-1-218_agent Agentflare-Branch: fix/slsa-provenance-tag-ref
Agentflare-Agent: 1 Agentflare-Branch: fix/slsa-provenance-tag-ref
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (2)
📝 WalkthroughWalkthroughThe CI build OS matrix now varies by event type. The release provenance job references the SLSA generator’s ChangesCI matrix selection
Release provenance workflow
Estimated code review effort: 2 (Simple) | ~10 minutes Possibly related PRs
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
getappz
enabled auto-merge (squash)
July 24, 2026 04:38
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.
Fixes SLSA provenance workflow failing because reusable workflow refs were passed as refs/tags/v0.1.0 instead of the bare tag v0.1.0.
Summary by CodeRabbit