fix(ci): pin codeql-action with exact version comment#481
Conversation
Zizmor's ref-version-mismatch audit flagged the # v4 comments — the pinned SHA actually resolves to v4.35.4, so the comment was misleading and caused zizmor to fail with exit code 13. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
|
Note Gemini is unable to generate a review for this pull request due to the file types involved not being currently supported. |
Greptile SummaryThis PR updates the version comments on the three
Confidence Score: 5/5Safe to merge — the change is comment-only with no runtime impact. All three SHA pins are unchanged and confirmed to match v4.35.4; the only modification is the inline annotation becoming more specific. There is no logic, configuration, or permission change of any kind. No files require special attention. Important Files Changed
Reviews (1): Last reviewed commit: "fix(ci): pin codeql-action with exact ve..." | Re-trigger Greptile |
Summary
# v4comments on the threegithub/codeql-action/*SHA pins incodeql-analysis.ymlto# v4.35.4, matching what the pinned SHA actually resolves to.ref-version-mismatchmedium findings that are currently failing thezizmorcheck on every PR.Test plan
zizmorworkflow passes on this branch🤖 Generated with Claude Code
Note
Low Risk
Comment-only change in CI workflow; the CodeQL action SHA pins are unchanged so runtime behavior should not change.
Overview
Updates
.github/workflows/codeql-analysis.ymlto change the inline version comments on the pinnedgithub/codeql-actionsteps (init,autobuild,analyze) from# v4to# v4.35.4, matching the existing pinned SHA and avoiding version-mismatch lint findings.Reviewed by Cursor Bugbot for commit e3a6003. Bugbot is set up for automated code reviews on this repo. Configure here.