Pin GH Actions version comments to exact semver#89
Merged
Conversation
✅ Snyk checks have passed. No issues have been found so far.
💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse. |
mbayerPK
reviewed
Jun 3, 2026
|
|
||
| steps: | ||
| - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6 | ||
| - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 |
Collaborator
There was a problem hiding this comment.
I noticed these are only comment changes but not hash changes on the action itself- does something from github pipelines take the commented version into account as well?
Member
Author
There was a problem hiding this comment.
yes, a weird interaction of zizmor, GitHub security, and Renovate
mbayerPK
approved these changes
Jun 3, 2026
6a430ff to
c0e469f
Compare
Floating major-version comments (# v6) become stale when the tag advances between Renovate PRs. Zizmor's ref-confusion audit flags the mismatch. Full patch versions (# v6.0.2) keep comments accurate and make Renovate track exact versions going forward. Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
c0e469f to
77ca81b
Compare
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
# v6,# v5,# v7) with exact patch versions (# v6.0.2,# v5.2.0, etc.) on all pinned action SHAsref-confusionfalse window: when a floating tag advances between Renovate PRs, the comment becomes stale and zizmor flags the mismatch🤖 Generated with Claude Code