ci: lock workflow action dependencies

Add .github/workflows/actions.lock, generated by gh actions-lock. It
records the commit for every action the workflows use, including
actions called by other actions. Workflows now reference release
tags and the lockfile holds the commit that runs.

Verify the lockfile in the Workflow lint job so a workflow change
that skips regenerating it fails the pull request.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
This commit is contained in:
Robby RussellandClaude Fable 5.2 committed 2026-11-28 14:00:38 -08:00
1 parent 6f4b39ce87
commit 7809dfb390
8 files changed
+133 -21

No files matched your search

+21
View File
@@ -16,6 +16,27 @@ Keep the local jactionlint version aligned with the pinned action in `lint.yml`.
There is no baseline: new findings fail the check. Any rule exception should be
limited to the relevant line and explain why it is needed.
## Action lockfile
`actions.lock` records the commit for every action the workflows use, including
actions called by other actions. Workflows reference release tags; the lockfile
holds the commit that runs. Do not edit it by hand.
After adding a workflow or changing any `uses:` line, regenerate it with the
[`gh actions-lock`](https://github.com/github/gh-actions-lock) extension and
commit the result:
```sh
gh extension install github/gh-actions-lock
gh actions-lock
```
Dependabot updates the lockfile entry in the same pull request when it bumps an
action.
The `Workflow lint` workflow verifies the lockfile on every pull request and
fails when it does not match the workflows.
## Project tracking
`project.yml` intentionally uses `pull_request_target` so the GitHub App can add