Dylan Di Filippo
Dylan Di FilippoAI journal

GitHub Actions locks workflow dependencies

GitHubSoftware security

Lockfiles retain readable tag names while executing exact commits.

Public preview

Official visual published by GitHub for this announcement
GitHub — visuel officiel · Image source ↗

An Actions workflow can keep a readable tag or branch reference while executing the exact commit recorded in a lockfile. That addresses a specific supply-chain problem: a reference can move after review, causing a later run to execute code different from the code that was examined.

The gh actions-lock extension generates .github/workflows/actions.lock for actions, transitive dependencies and reusable workflows. Adoption can proceed one workflow at a time. Once a workflow is onboarded, every dependency needs a lock entry and runs at its locked commit.

Organizations can enforce the mechanism with a Require lockfile policy, and Dependabot regenerates entries during dependency updates. The October 14 public preview covers Free, Team and Enterprise Cloud, including Enterprise Cloud with data residency. There is no explicit Belgium/EEA exclusion in the source; actual access depends on account, plan and service region.

A lockfile preserves what was selected; it does not certify that the selected commit is safe. Code review and keeping lock entries current remain separate responsibilities, even when moving tags can no longer silently change what runs.

← Back to this weekly edition

A journal by Dylan Di Filippo. Facts, vendor claims and editorial analysis are kept separate. Coverage is not exhaustive.