Repository navigation
Add GitHub Actions workflow lockfile - #462
Merged
Merged
Conversation
Pin workflow actions via gh actions-lock and verify the lockfile in CI. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Call the reusable workflow instead of keeping a copy of the job, so the gh-actions-lock version is maintained in one place. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This was referenced Nov 2, 2026
Contributor
Author
|
@pullfrog review |
Contributor
There was a problem hiding this comment.
Important
The lockfile was generated before main gained .github/workflows/pullfrog.yml (86c10ec). Merging as-is leaves actions.lock out of sync on main, so it needs a rebase and regeneration.
Reviewed changes
This PR adds a GitHub Actions lockfile and narrows uses: refs to exact versions. Reviewed against current main.
actions.lock— generated bygh actions-lock. Pins every action used byci.yml,debug-runner.yml, andrelease.ymlto a commit SHA.- Version narrowing — each
uses:ref now names the exact tag that is locked, e.g.@v4→@v4.4.0. The narrowed refs match the lockfile entries one-to-one. verify-lockfile.yml— runs on PRs that touch workflows or actions, and on pushes tomain. It delegates to the sharedrestatedev/restatereusable workflow, the same waycla.ymldoes.
claude-opus-5-5 | 𝕏
Contributor
There was a problem hiding this comment.
✅ Pullfrog addressed all of its review feedback on this PR.
I fixed the one open review thread: actions.lock now covers .github/workflows/pullfrog.yml.
- Fix: I merged
mainintoactions-lockfileinstead of rebasing, so no force push was needed. Then I regenerated the lockfile withgh actions-lockv0.4.0. It now pinsactions/checkout@v6.1.0,actions/setup-java@v5.7.0,gradle/actions@v6.4.1andpullfrog/pullfrog@v0.1.110. - Check:
gh actions-lock --verifyreports all 6 workflows valid. The only warning is the known one about theenricomi/publish-unit-test-result-actioncontainer image not being pinned by digest. - Pushed: commit
e49e5b4. I replied to the thread and resolved it.
Two things are still open and not part of this fix:
- The tool says
warpbuilds/action-debugger@v1.3indebug-runner.ymlis pinned without a full version number, and that the latest release isv2.0.0. - Make sure
pullfrog/pullfrogis on the org's allow-list before the Require-lockfile policy is turned on.
Task list (3/4 completed)
- Merge main into PR branch
- Regenerate actions.lock with gh actions-lock v0.4.0
- Verify, commit, push
- Reply to thread and report
claude-opus-5-5 | 𝕏
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 subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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
Onboards this repository to GitHub Actions workflow lockfiles as part of tightening the restatedev org's Actions policy (allow-listed actions, SHA pinning, required lockfile).
.github/workflows/actions.lock(generated bygh actions-lockv0.4.0) pins every action, including transitive actions used inside composite actions, to a full commit SHA. This satisfies the org's "require full-length commit SHA" policy without writing SHAs into the workflows.uses:refs are narrowed to the exact version that is locked (e.g.@v4→@v4.4.0).verify-lockfile.ymlrunsgh actions-lock --verifyon PRs that touch workflows or actions and on pushes tomain, so the lockfile can't drift. It calls the shared workflow inrestatedev/restate([CI] Make verify-lockfile workflow reusable restate#5721), so thegh-actions-lockversion is maintained in one place.enricomi/publish-unit-test-result-actioncontainer image isn't covered by the lockfile; tracked in Track unfixable gh actions-lock container-image warnings restate#5709.Updating actions
Change the
uses:ref and rungh actions-lock(install withgh extension install github/gh-actions-lock --pin v0.4.0), then commit the updatedactions.lock. Dependabot regenerates the lockfile in its PRs.After this merges, the repository will be added to the org's Require-lockfile policy.
Test plan
gh actions-lock --verify: all workflows validVerify actions lockfilecheck passes on this PR🤖 Generated with Claude Code