Skip to content

🔒 ci: lock workflow actions with a lockfile - #257

Merged
gaborbernat merged 1 commit into
mainfrom
actions-lockfile
Nov 10, 2026
Merged

gaborbernat merged 1 commit into
mainfrom
actions-lockfile

Conversation

@gaborbernat

Copy link
Copy Markdown
Member

Every action this repository's workflows run is now locked to a commit through a workflow lockfile, generally available since 2026-10-28. 🔒 A moved or rewritten tag fails the job before any step runs, and the lock also covers the actions those actions call, which a SHA in uses: never pinned.

gh-actions-lock wrote .github/workflows/actions.lock and turned step-level SHA pins back into tags, which the runner resolves through the lockfile. Reusable workflow calls keep their full SHA, since the lockfile does not cover them, and move to github-workflows 6.8.0, the first release whose own actions are locked.

zizmor moves to 1.32.0, which reads the lockfile; 1.31.1 reports each tag as unpinned-uses. Dependabot keeps updating actions and regenerates the matching lockfile entry in the same pull request.

@gaborbernat gaborbernat added the skip news No user-facing changelog entry needed label Nov 10, 2026
@gaborbernat
gaborbernat marked this pull request as ready for review November 10, 2026 05:21
@gaborbernat
gaborbernat merged commit e58602c into main Nov 10, 2026
25 checks passed
@gaborbernat
gaborbernat deleted the actions-lockfile branch November 10, 2026 05:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

skip news No user-facing changelog entry needed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant