Skip to content

docs: pin the shared workflows to a commit SHA instead of @v1 - #2

Merged
rubenhensen merged 1 commit into
mainfrom
rhensen/yiv-401-sha-pin-callers
Oct 20, 2026
Merged

rubenhensen merged 1 commit into
mainfrom
rhensen/yiv-401-sha-pin-callers

Conversation

@rubenhensen

Copy link
Copy Markdown
Contributor

Callers now pin the shared workflows to the commit SHA of a release, with a # vX.Y.Z comment, instead of the moving @v1 tag. A tag can be moved, a SHA can't, and Dependabot still bumps the SHA and comment on a new release. The go-sms-issuer canary also showed that CodeQL flags every @v1/@main reference (actions/unpinned-tag), in every consuming repository.

  • zizmor.yml and templates/zizmor.yml: drop the ref-pin exception for privacybydesign/*; every uses: needs a SHA.
  • README: usage example with a SHA, versioning without a moving major tag.
  • CHANGELOG: note under v1.1.0.

Part of YIV-401.

Callers reference a release by commit SHA with a version comment, so
Dependabot can bump it and a tag can't change under them. The zizmor
policy now requires a SHA for every uses:, our own workflows included.
@rubenhensen
rubenhensen merged commit 57ef42a into main Oct 20, 2026
2 checks passed
@rubenhensen
rubenhensen deleted the rhensen/yiv-401-sha-pin-callers branch October 20, 2026 16:02
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.

1 participant