chore(ci): correct setup-python pin version comment to v6.2.0#41383
Conversation
The pinned commit a309ff8 for actions/setup-python resolves to release tag v6.2.0, but the inline comment claimed `# v6` (the floating major tag, which points at a different commit). zizmor's ref-version-mismatch rule flags this mismatch because the comment misrepresents the exact pinned version. Updated both occurrences to `# v6.2.0` so the comment matches the pinned SHA. Resolves code-scanning alert #2549 Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
|
Bito Automatic Review Skipped - Files Excluded |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #41383 +/- ##
==========================================
+ Coverage 63.80% 64.35% +0.55%
==========================================
Files 2653 2653
Lines 145281 145162 -119
Branches 33523 33490 -33
==========================================
+ Hits 92692 93418 +726
+ Misses 50891 50049 -842
+ Partials 1698 1695 -3
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
SUMMARY
The
actions/setup-pythonstep in our composite backend setup action (and thebump-python-packageworkflow) is pinned to commita309ff8b426b58ec0e2a45f0f869d46889d02405, but the inline version comment read# v6.That commit actually corresponds to release tag v6.2.0. The floating
# v6tag points at a different commit (ece7cb06…, currently v6.3.0). zizmor'sref-version-mismatchrule flags this because the human-readable comment misrepresents the exact pinned version, which makes audits and Dependabot bumps harder to reason about.This PR updates both occurrences of the comment to the truthful
# v6.2.0. The pinned SHA is unchanged, so runtime behavior is identical — this is purely a documentation/accuracy fix to satisfy the supply-chain pin convention.Resolves code-scanning alert #2549.
BEFORE/AFTER
Before:
After:
TESTING INSTRUCTIONS
pre-commit run --files .github/actions/setup-backend/action.yml .github/workflows/bump-python-package.ymlpasses, including thezizmor (GHA security audit)hook.ADDITIONAL INFORMATION
🤖 Generated with Claude Code