Repository navigation
Pin GitHub Actions to commit SHAs - #168
Merged
Merged
Conversation
Sourcegraph-Batch-Change: https://sourcegraph.sourcegraph.com/batch-change-agents/1257
andreeleuterio
approved these changes
Nov 11, 2026
golangci-lint-action v3 can only install golangci-lint v1, and the last v1 release can't read export data from the Go version that 'stable' now installs. v9 of the action installs golangci-lint v2; .golangci.yml was converted with 'golangci-lint migrate' (gosimple is part of staticcheck and typecheck is always on in v2). Amp-Thread-ID: https://ampcode.com/threads/T-01a1cf27-70ef-74c8-9602-faaa0a076243 Co-authored-by: Amp <amp@ampcode.com>
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 every GitHub Action referenced by a tag or branch in this repository's workflows to the full commit SHA that ref currently resolves to, so behavior is unchanged. The resolved version is kept as a trailing comment for readability and for Dependabot/Renovate updates.
This follows GitHub's recommendation to pin versions of actions to a full-length commit SHA.
.github/workflows/bench.ymlactions/checkoutv3a37ce9120846195fa4ece8f58b268e6043cb2f26(v3.7.0).github/workflows/bench.ymlactions/setup-gov540f1582b2485089dde7abd97c1529aa768e1baff(v5.6.0).github/workflows/bench.ymlkenchan0130/actions-system-infov1.2.1fa6e3c44fe5a4d62c5fd1fa589c8a1c898819f2b(v1.2.1).github/workflows/bench.ymlactions/cache/restorev36f8efc29b200d32929f49075959781ed54ec270c(v3.5.0).github/workflows/bench.ymlbenchmark-action/github-action-benchmarkv14322e5726e6334590d251fc4f92bec0efafc45dc(v1.22.2).github/workflows/bench.ymlbenchmark-action/github-action-benchmarkv14322e5726e6334590d251fc4f92bec0efafc45dc(v1.22.2).github/workflows/go.ymlactions/checkoutv3a37ce9120846195fa4ece8f58b268e6043cb2f26(v3.7.0).github/workflows/go.ymlactions/setup-gov3be3c94b385c4f180051c996d336f57a34c397495(v3.6.1).github/workflows/go.ymlgolangci/golangci-lint-actionv3.3.10ad9a0988b3973e851ab0a07adf248ec2e100376(v3.3.1).github/workflows/go.ymlcodecov/codecov-actionv3.1.1d9f34f8cd5cb3b3eb79b3e4b5dae3a16df499a70(v3.1.1).github/workflows/main.ymlactions/checkoutv3a37ce9120846195fa4ece8f58b268e6043cb2f26(v3.7.0).github/workflows/main.ymlactions/setup-gov540f1582b2485089dde7abd97c1529aa768e1baff(v5.6.0).github/workflows/main.ymlbenchmark-action/github-action-benchmarkv14322e5726e6334590d251fc4f92bec0efafc45dc(v1.22.2).github/workflows/main.ymlkenchan0130/actions-system-infov1.2.1fa6e3c44fe5a4d62c5fd1fa589c8a1c898819f2b(v1.2.1).github/workflows/main.ymlactions/cache/savev36f8efc29b200d32929f49075959781ed54ec270c(v3.5.0)Created by a Sourcegraph agentic batch change.