Repository navigation
Conversation
Adopt the workflow dependency lockfile (public preview) via `gh actions-lock` v0.4.0: - Generate .github/workflows/actions.lock pinning every direct and transitive action to a verified commit. - Rewrite `uses:` refs to exact tags; the lockfile now carries the commit SHA. Existing SHA pins resolve to the same commits, and floating refs (v4, v6, v1, ...) are narrowed to their current tags. - Add verify-lockfile workflow running `gh actions-lock --verify` on PRs, pushes to main, and weekly to catch re-pointed tags. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
ono-max
approved these changes
Oct 26, 2026
ono-max
reviewed
Oct 26, 2026
| env: | ||
| GH_TOKEN: ${{ github.token }} | ||
| steps: | ||
| - uses: actions/checkout@v7.0.1 |
Contributor
There was a problem hiding this comment.
Nit: It might be better to specify the commit hash here.
Contributor
Author
There was a problem hiding this comment.
No, we don't have to specify the commit hash when we use GHA actions.lock feature
Contributor
Author
There was a problem hiding this comment.
actions.lock has the information ref: https://github.com/cloudbees-oss/smart-tests-cli/pull/1414/changes#diff-bde52d8d916a58f8b10eef94657a7c28d687a17c6552ec16f94bb75b1a0f4a2eR88-R92
ono-max
approved these changes
Oct 28, 2026
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
Adopt GitHub Actions workflow lockfiles (public preview) using
gh actions-lockv0.4.0..github/workflows/actions.lock(new): pins every direct and transitive action (including those pulled in by composite actions such assmart-tests-results-upload-action,pre-commit/action,attest-build-provenance) to a verified commit.uses:refs: rewritten to exact tags. The commit SHA now lives in the lockfile instead of inline@<sha> # vXcomments.actions/checkout@v4→v4.4.0,actions/checkout@v6→v6.1.0,actions/setup-java@v4→v4.9.1,smart-tests-results-upload-action@v1→v1.3.0)..github/workflows/verify-lockfile.yml(new): runsgh actions-lock --verifyon PRs, pushes tomain, and weekly (to detect re-pointed upstream tags). Based on the upstream template, with the extension pinned to v0.4.0.Maintenance
When adding a workflow or changing any
uses:, rungh actions-lockand commitactions.locktogether with the workflow change. Usegh actions-lock --relockto advance pins.Test plan
gh actions-lock --verifypasses locally (exit 0,valid: true)verify-lockfileworkflow passes on this PR🤖 Generated with Claude Code