Skip to content

Pin GitHub Actions to SHA for security#310

Merged
horgh merged 1 commit intomainfrom
greg/eng-3770
Jan 8, 2026
Merged

Pin GitHub Actions to SHA for security#310
horgh merged 1 commit intomainfrom
greg/eng-3770

Conversation

@oschwald
Copy link
Member

@oschwald oschwald commented Jan 7, 2026

Summary

  • Pin official GitHub Actions (actions/*, github/*) to specific commit SHAs
  • Satisfies zizmor's unpinned-action-reference security check
  • All actions upgraded to latest versions

Changes

Updates workflow files to use pinned SHA references instead of version tags:

  • actions/checkout@v6actions/checkout@<sha> # v6.0.1
  • github/codeql-action/*@v4github/codeql-action/*@<sha> # v4.31.9
  • And similar for other official actions

Test plan

  • CI passes with pinned actions
  • zizmor check passes

🤖 Generated with Claude Code

Update official GitHub Actions (actions/*, github/*) to use pinned
commit SHAs instead of version tags. This satisfies zizmor's
unpinned-action-reference security check.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@horgh horgh merged commit 1e0a1d2 into main Jan 8, 2026
47 checks passed
@horgh horgh deleted the greg/eng-3770 branch January 8, 2026 22:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants