Repository navigation
feat(lockfiles): confirm actions.lock with gh-actions-lock's online check - #394
Merged
Merged
Conversation
…heck The offline `--verify-local` pass checks that every ref in a workflow has a lock entry. It cannot see what a composite action uses at its locked commit, so a lock missing one of those edges passed it and was published (gh-actions-lock 0.4.1 wrote such locks, github/gh-actions-lock#272). After the offline pass, updates and maintenance now run the tool's read-only online check (`--no-fix`) over the same workflows. A finding holds the run with its reason, and an unreachable GitHub makes it wait.
sweepies
force-pushed
the
feat/actions-lock-online-check
branch
from
November 23, 2026 20:12
986838a to
96b4cab
Compare
Merged
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.
The Count proves a regenerated
actions.lockwith gh-actions-lock's offline--verify-localpass and its own read-back. Neither can see what a remote composite action uses at its locked commit. So when gh-actions-lock 0.4.1 dropped such an edge (github/gh-actions-lock#272), the incomplete lock passed both checks and was published. It happened on this repository's own self-pin bump, where the tool's online check rejected the lock withincomplete-lockfile.After the offline pass, updates and maintenance now run the tool's read-only online check over the same workflows:
--no-interactive --no-fix --ignore-local-actions --json=valid,findings. Its exit status and findings go through the existingcheckandclassify:It uses the session's existing token and adds no new access.
incomplete-lockfilefinding and a retryable one, and confirms neither publishes the lock.cargo test -p patchula-tools: 213 passed. Clippy: clean.