Summary
Tracked from #331 (zizmor CI gate). PR #1530 introduced zizmor enforcement and found that version comments on SHA-pinned actions are stale across multiple workflow files — e.g. # v6 should be # v6.0.2, # v5 should be # v5.0.5.
The SHAs are correct and immutable; this is cosmetic hygiene only. There is no security risk, but accurate comments help reviewers verify pins at a glance.
Affected locations (14 instances)
| File |
Line |
Current comment |
Correct comment |
cut-release-branch.yml |
40 |
# v6 |
# v6.0.2 |
docs-publish.yml |
69 |
# v6 |
# v6.0.2 |
docs-publish.yml |
266 |
# v4 |
# v4.0.0 |
pr-update.yml |
29 |
# v6 |
# v6.0.2 |
publish-dev-from-main.yml |
49 |
# v6 |
# v6.0.2 |
publish-release.yml |
73 |
# v6 |
# v6.0.2 |
publish-release.yml |
116 |
# v6 |
# v6.0.2 |
publish-release.yml |
168 |
# v6 |
# v6.0.2 |
pypi.yml |
30 |
# v6 |
# v6.0.2 |
pypi.yml |
65 |
# release/v1 |
# v1.14.0 |
quality.yml |
24 |
# v6 |
# v6.0.2 |
quality.yml |
35 |
# v6 |
# v6.0.2 |
quality.yml |
54 |
# v6 |
# v6.0.2 |
quality.yml |
66 |
# v5 |
# v5.0.5 |
Definition of done
- Update all version comments to match the actual tag the SHA resolves to
- Remove the corresponding
ref-version-mismatch entries from .github/zizmor.yml
zizmor reports no ref-version-mismatch findings
Notes
zizmor --fix can automate these comment updates
- Line numbers may drift if other workflow edits land first — rerun zizmor to get fresh positions before fixing
Summary
Tracked from #331 (zizmor CI gate). PR #1530 introduced zizmor enforcement and found that version comments on SHA-pinned actions are stale across multiple workflow files — e.g.
# v6should be# v6.0.2,# v5should be# v5.0.5.The SHAs are correct and immutable; this is cosmetic hygiene only. There is no security risk, but accurate comments help reviewers verify pins at a glance.
Affected locations (14 instances)
cut-release-branch.yml# v6# v6.0.2docs-publish.yml# v6# v6.0.2docs-publish.yml# v4# v4.0.0pr-update.yml# v6# v6.0.2publish-dev-from-main.yml# v6# v6.0.2publish-release.yml# v6# v6.0.2publish-release.yml# v6# v6.0.2publish-release.yml# v6# v6.0.2pypi.yml# v6# v6.0.2pypi.yml# release/v1# v1.14.0quality.yml# v6# v6.0.2quality.yml# v6# v6.0.2quality.yml# v6# v6.0.2quality.yml# v5# v5.0.5Definition of done
ref-version-mismatchentries from.github/zizmor.ymlzizmorreports noref-version-mismatchfindingsNotes
zizmor --fixcan automate these comment updates