Skip to content

ci: lock workflow actions through an actions.lock lockfile - #4

Open
dylanmtaylor wants to merge 2 commits into
mainfrom
chore/lock-github-actions
Open

dylanmtaylor wants to merge 2 commits into
mainfrom
chore/lock-github-actions

Conversation

@dylanmtaylor

Copy link
Copy Markdown
Member

Applies the lockfile setup from https://hugovk.dev/blog/2026/lock-github-actions/.

After editing a workflow, re-run gh actions-lock and commit the lockfile with it.

Mutable action tags are a supply-chain risk: a moved tag runs different code
without a diff. Every workflow action is now pinned through
.github/workflows/actions.lock, and CI verifies the lockfile so an out-of-sync
or tampered one fails instead of running.
Fails the build when .github/workflows/actions.lock stops matching the
workflows, or when a locked pin no longer verifies upstream, so a stale or
tampered lockfile cannot go unnoticed between dependency updates.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant