Pin GitHub Actions to commit SHAs - #1765
Open
github-security-bot wants to merge 1 commit into
Open
Conversation
github-security-bot
requested a review
from timvaillancourt
as a code owner
September 10, 2026 21:27
Contributor
There was a problem hiding this comment.
🟢 Approval recommended
All action SHAs resolve to the documented versions, and every workflow reference is pinned consistently.
Pull request overview
Pins all 13 GitHub Actions references to verified immutable commit SHAs while retaining version comments for Dependabot.
Changes:
- Pins CI, lint, CodeQL, release, and replica-test actions.
- Preserves corresponding version tags in inline comments.
File summaries
| File | Description |
|---|---|
.github/workflows/ci.yml |
Pins build workflow actions. |
.github/workflows/codeql.yml |
Pins CodeQL actions. |
.github/workflows/golangci-lint.yml |
Pins lint workflow actions. |
.github/workflows/release.yml |
Pins release and attestation actions. |
.github/workflows/replica-tests.yml |
Pins replica-test workflow actions. |
Review details
- Files reviewed: 5/5 changed files
- Comments generated: 0
- Review effort level: Balanced
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Pins GitHub Actions
uses:references ingithub/gh-ostto immutable commit SHAs.Summary
Why
Pinning actions to full commit SHAs prevents future tag or branch retargeting from changing workflow behavior without review.
Reviewer notes
Pinned refs
.github/workflows/ci.yml:13actions/checkout@v7actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1tag.github/workflows/ci.yml:16actions/setup-go@v6actions/setup-go@924ae3a1cded613372ab5595356fb5720e22ba16tag.github/workflows/ci.yml:24actions/upload-artifact@v7actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0atag.github/workflows/codeql.yml:27actions/checkout@v7actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1tag.github/workflows/codeql.yml:30github/codeql-action/init@v4github/codeql-action/init@b96794f015dfd88f77b49b1c93e0fa7110f94c63tag.github/workflows/codeql.yml:35github/codeql-action/analyze@v4github/codeql-action/analyze@b96794f015dfd88f77b49b1c93e0fa7110f94c63tag.github/workflows/golangci-lint.yml:16actions/checkout@v7actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1tag.github/workflows/golangci-lint.yml:17actions/setup-go@v6actions/setup-go@924ae3a1cded613372ab5595356fb5720e22ba16tag.github/workflows/golangci-lint.yml:21golangci/golangci-lint-action@v9golangci/golangci-lint-action@ba0d7d2ec06a0ea1cb5fa41b2e4a3ab91d21278atag.github/workflows/release.yml:23actions/checkout@v7actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1tag.github/workflows/release.yml:61actions/attest-build-provenance@v4actions/attest-build-provenance@4d101475d8b20a2381f78447822ac1eab6504dd8tag.github/workflows/replica-tests.yml:18actions/checkout@v7actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1tag.github/workflows/replica-tests.yml:39actions/upload-artifact@v7actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0atagWarnings
.github/dependabot.ymlGenerated by pinner 0.1.0.