Post

Lock your GitHub Actions

GitHub Actions workflow lockfiles let workflows keep readable version tags while recording resolved commit hashes and repository identities separately. Hugo van Kemenade walks through generating a lockfile with gh actions-lock, verifying it in CI, and updating it with Renovate or Dependabot.

In the Hacker News discussion, zizmor’s maintainer cautions that reusable workflows and Docker image references are not currently locked; composite actions need particular care because removing their own SHA pins can leave external callers exposed. Lockfiles do not cover dependencies downloaded at runtime, either.