Repository navigation
ci: pin third-party actions to commit SHAs - #13
Merged
Merged
Conversation
A moved tag on any action the CI or release workflow uses would put someone else's code into what we ship. Each tag reference is now the commit the tag points at today, with the most specific version tag that names the same commit kept as a trailing comment. The root action.yml pins codeql-action/upload-sarif the same way, so customers who run this action no longer follow a moving v3 tag. Resolved with git ls-remote on 2026-11-18, using the dereferenced commit for annotated tags (cosign-installer, codeql-action). No other change. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Weekly, in one grouped PR, so the SHA pins and their version comments move together. Directory "/" covers .github/workflows and the root action.yml. Go modules stay out: the repo has no policy for them yet. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.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 third-party GitHub Action in this repository's workflows and in
action.ymlto a full commit SHA, with the version kept in a trailing comment (for exampleactions/checkout@11d5960a… # v4.4.0). Adds a Dependabot configuration for GitHub Actions so the pins are proposed for update when new versions ship.A tag on an upstream action can be moved to different code; a commit SHA cannot. Pinning means the code our CI and release jobs run only changes when we change it.
No change to what the workflows do.
🤖 Generated with Claude Code