Skip to content

🌂 [gha] unpin slsa-github-generator since pinning broke it#305

Merged
chicks-net merged 4 commits into
mainfrom
chicks/2026-06-10-fix-release
Jun 10, 2026
Merged

🌂 [gha] unpin slsa-github-generator since pinning broke it#305
chicks-net merged 4 commits into
mainfrom
chicks/2026-06-10-fix-release

Conversation

@chicks-net

@chicks-net chicks-net commented Jun 10, 2026

Copy link
Copy Markdown
Member

Done

  • 🌂 [gha] unpin slsa-github-generator since pinning broke it
  • comment to clarify why it is not pinned to gitsha
  • better fixes for various zizmor complaints
  • an ingore comment was needed

Meta

(Automated in .just/gh-process.just.)

Signed-off-by: Christopher Hicks <chicks.net@gmail.com>
Signed-off-by: Christopher Hicks <chicks.net@gmail.com>
Copilot AI review requested due to automatic review settings June 10, 2026 14:37

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the release provenance generation setup to use the SLSA GitHub Generator by tag ref (instead of a commit SHA), because the generator’s internal checkout logic fails when invoked from a SHA-pinned reusable workflow. It also adjusts the zizmor configuration to permit this exception.

Changes:

  • Switch slsa-framework/slsa-github-generator reusable workflow invocation from a pinned SHA to @v2.1.0.
  • Add inline documentation in the workflow explaining the “Invalid ref” failure mode when SHA-pinned.
  • Update .github/zizmor.yml policy to allow non-SHA refs for slsa-framework/slsa-github-generator.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
.github/zizmor.yml Allows slsa-framework/slsa-github-generator to be referenced by ref (to accommodate tag usage).
.github/workflows/release.yml Uses the SLSA generator reusable workflow via @v2.1.0 tag and documents why SHA pinning breaks provenance generation.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Signed-off-by: Christopher Hicks <chicks.net@gmail.com>
Signed-off-by: Christopher Hicks <chicks.net@gmail.com>
@chicks-net chicks-net merged commit 694411c into main Jun 10, 2026
24 of 29 checks passed
@chicks-net chicks-net deleted the chicks/2026-06-10-fix-release branch June 10, 2026 15:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants