Repository navigation
chore(ci): lock GitHub Actions dependencies with actions.lock - #17
Merged
Merged
Conversation
Onboard every workflow to a GitHub Actions workflow lockfile with `gh actions-lock`. The lockfile pins each direct and transitive action dependency to a commit, so SHA pins in the workflow files become tags. 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.
Summary
Adds
.github/workflows/actions.lock(GitHub Actions workflow lockfiles, GA since 2026-10-28), generated withgh actions-lock. The runner now runs exactly the commits in the lockfile, including transitive dependencies of composite actions, which SHA pins in workflow files never covered. The tool replaces@<sha> # vXpins with the full semver tag for the same commit (e.g.actions/checkout@v7.0.1), so some stale# vXcomments now read as major-version jumps; the commit is unchanged.Context
Every SHA pinned on
mainwas checked against the lockfile: apart from the changes listed above, each locked commit is the commit that runs today.gh actions-lock --verifypasses.After this merges, add or change a
uses:and then rungh extension install github/gh-actions-lock && gh actions-lockto update the lockfile. If the lockfile has no entry for a dependency, the job fails at start. Dependabot updates the lockfile in its own action-bump PRs.Risk level
Low. Commits that run are unchanged except where listed. The main risk is a workflow that only runs on a schedule, a release or a dispatch failing at job start if the runner rejects a pin. Rollback is a revert.
[This is Claude Code on behalf of Samantha Hughes]
🤖 Generated with Claude Code