Repository navigation
Lock GitHub Actions dependencies - #358
Merged
Merged
Conversation
Adds .github/workflows/actions.lock and switches every uses: reference from a bare commit SHA to its exact release tag. The locked commits are the commits the workflows pinned before, so runs execute unchanged code. The Check workflow now verifies the lockfile, and the required source-and-integration check fails while it is stale.
The pull request gate now needs the lockfile job, and a lockfile change alters the action code that the CLI publication workflows run, so it selects canary publication like a change to those workflow files.
Deploying with
|
| Status | Name | Latest Commit | Updated (UTC) |
|---|---|---|---|
| ✅ Deployment successful! View logs |
widefleet-docs | e82fc12 | Nov 23 2026, 07:21 PM |
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.
What
.github/workflows/actions.lock, generated bygh actions-lockv0.5.1. It covers all 7 workflows.uses:reference from a bare commit SHA to its exact release tag (for exampleactions/[email protected]). The locked commits match the SHAs pinned before, so runs execute the same code.actions-lockfilejob toCheckthat runsgh actions-lock --verify. The requiredsource-and-integrationcheck now also fails while the lockfile is stale.docs/development.mdon regenerating the lockfile after workflow changes.Why
Runs execute the commits recorded in the lockfile, including transitive action dependencies, and GitHub checks at job start that each locked repository is still the one that was locked. Once this is merged, the repository's Require lockfile Actions policy can be set to Active so that a workflow that isn't onboarded cannot run.
Verification
gh actions-lock --verify --fail-on-warning: all 7 workflows valid.oxfmt --checkpasses on the changed files.

Confidence Score: 5/5
The PR appears safe to merge; no new actionable issues remain.Summary
Adds an Actions lockfile, release-tag references, and a required lockfile check.
Reviews (2) · Last reviewed commit: "Cover the lockfile gate in the CI workfl..." · Reviewed by Greptile