Skip to content

chore(ci): fix SHA pins to match declared action versions#98

Open
anupsv wants to merge 1 commit into
masterfrom
chore/fix-sha-pin-workflow-actions
Open

chore(ci): fix SHA pins to match declared action versions#98
anupsv wants to merge 1 commit into
masterfrom
chore/fix-sha-pin-workflow-actions

Conversation

@anupsv

@anupsv anupsv commented May 14, 2026

Copy link
Copy Markdown
Contributor

Summary

Several GitHub Actions workflow files had SHA pins that didn't match the version labels in their comments. This PR corrects all mismatches and adds missing version comments to already-pinned actions for auditability.

Corrections (wrong SHA → correct SHA for stated version)

File Action Was Should be
main.yaml, fuzz.yml, clusterfuzzlite.yml actions/checkout # v4.2.2 34e114... (v4.3.1) 11bd71... (v4.2.2)
fuzz.yml actions/setup-go # v5.1.0 cdcb36... (v5.0.1) 41dfa1... (v5.1.0)
main.yaml actions/setup-go # v4 19bb51... (v4.2.1) 7b8cf1... (v4.3.0, latest v4)
claude-code-review.yml anthropics/claude-code-action # v1.0.107 567fe9... 7eab12... (v1.0.107)

Added missing version comments (SHAs were already correct)

  • build-container.yaml: added # v4.3.1, # v2.0.1, # v2.2.0, # v3.11.1 to actions/checkout, amazon-ecr-login, setup-qemu-action, setup-buildx-action
  • clusterfuzzlite.yml: added # v1 to run_fuzzers and unpinned build_fuzzers instances; added # v4.6.2 to upload-artifact; added # v4.31.7 to codeql-action/upload-sarif

Test plan

  • Verify all workflow files have SHA-pinned actions with matching version comments
  • Confirm CI passes on this branch

🤖 Generated with Claude Code

Several workflow files had SHA pins that didn't match the version
comment beside them (e.g. checkout@<v4.3.1 SHA> # v4.2.2). This
updates each SHA to the exact commit hash for the version stated in
the comment, and adds missing version comments to already-pinned
actions that lacked them for auditability.

Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant