{{ message }}
Conversation
codeql-action ff2f1c62 is labelled v3.29.5 but is v4.37.7, cosign-installer d58896d6 is labelled v2 but is v3.9.2, and checkout 3d3c42e5 is labelled v3.0.2 but is v7.0.1. In each case the claimed tag resolves to a different commit. Comments only, no SHA changes, so workflow behaviour is unaffected. Signed-off-by: Helga <noahuhryan@gmail.com>
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
Five SHA-pinned action references carry a version comment naming a release the pinned commit does not have. Every SHA is left untouched — only the comments change, so there is no behavioural difference and CI behaviour is identical.
codeql-analysis.yml:64github/codeql-actionff2f1c62v3.29.5codeql-analysis.yml:73github/codeql-actionff2f1c62v3.29.5scorecard_action.yml:56github/codeql-actionff2f1c62v3.29.5kind-cluster-image-policy-tsa.yaml:120sigstore/cosign-installerd58896d6v2kind-cluster-image-policy-tsa.yaml:148actions/checkout3d3c42e5v3.0.2Each is behind by at least one major version, which is the direction that misleads: someone auditing
kind-cluster-image-policy-tsa.yamlseescheckout # v3.0.2and reasonably concludes the workflow is four majors behind, when the pin is actually current.The
checkoutone is self-evident from this repo alone. The same commit3d3c42e5is pinned in four places and correctly labelled# v7.0.1in three of them —codeql-analysis.yml:44,scorecard_action.yml:27, andkind-cluster-image-policy-tsa.yaml:95. Only line 148 of that last file saysv3.0.2. One of the two labels has to be wrong, and the tag data says it is line 148.The
cosign-installerone is worth a second look for a different reason — the comment saysv2while the pinned commit isv3.9.2, and v3 was the release that changed which cosign version gets installed. The pin is right; only the label suggests otherwise.Why this drifts
Nothing validates a version comment. GitHub enforces the SHA and ignores the comment entirely, so when a SHA is bumped and the comment is not, the file keeps building fine and the discrepancy is invisible until someone reads it.
Verification
Two calls per row — the tag the pinned commit carries, and where the claimed tag actually points:
Same shape for the other two actions. Every pinned action across
.github/workflows/was checked — 103 pins — and these five were the only mismatches.Scope
Comment-only, so nothing to test beyond CI staying green.
Deliberately not included, since they are decisions rather than factual errors:
# vX.Y.Zvs bare). I kept each line's existing form so the diff is only the version token.