DEVELOPER TOOLS · CI/CD SECURITY

GitHub Actions lockfiles reach GA: keep readable tags, run reviewed commits

GitHub made workflow dependency lockfiles generally available on October 28, 2026. How commit locking works, how to start and what remains outside its scope.

GitHub announced general availability of workflow dependency lockfiles on October 28, 2026 for Free, Team and Enterprise Cloud, including data residency. A central record fixes the action commits a workflow runs while retaining readable references. Locking a dependency still does not establish that its code is safe.

The key points

  • Covers direct and transitive action dependencies
  • Workflows can be onboarded gradually
  • Reusable workflow calls require separate pinning

Why a familiar tag can still change what runs

GitHub explains that a tag or branch is a movable reference. A workflow using action@v3 may execute different code if upstream repoints v3.

TechTouch analysis: a review should answer both whether a version label looks right and which commit will actually run. This distinction deserves particular attention in workflows with publishing rights or access to sensitive information.

What is recorded and checked at execution

The documentation places the generated record at .github/workflows/actions.lock. Onboarded workflows must have their action dependencies recorded. GitHub also checks commit reachability from the recorded reference and repository identity through owner_id/repo_id. Reusable workflow calls are excluded, as are other build inputs such as secrets, parameters and runner images. This is a boundary around action resolution, not the whole build environment.

Start with a small workflow and review the diff

The official README requires an authenticated GitHub CLI. Install the extension with gh extension install github/gh-actions-lock, then run gh actions-lock from a repository checkout. Review the generated workflow changes and lockfile before committing. Rerun it after changing uses: or adding workflows. TechTouch suggests starting with a test job without deployment rights, comparing the action inventory with team expectations and asking another maintainer to review the diff before broader adoption. This is a proposed rollout approach, not a report of a hands-on test.

Locked dependencies still need updates

GitHub says Dependabot updates the matching lockfile entry alongside an action version update for an onboarded workflow. Administrators can require locking; verification can detect stale records without rewriting them.

TechTouch analysis: review both the version change and the resolved commit with CI results. Keeping an old commit indefinitely is not a substitute for accepting security fixes. Assign an owner for dependency maintenance rather than treating the first generated file as a completed security project.

General availability has a defined boundary

The README supports github.com and Enterprise Cloud with data residency, not Enterprise Server. Calls through jobs.<job_id>.uses need a full commit SHA; actions within reusable workflows are covered by their defining repository’s lockfile. TechTouch recommends separately inventorying reusable workflows, runners and token permissions before organization-wide enforcement. A successful lockfile check should not be read as proof that every execution input is fixed or trustworthy.

Details and limitations

ComponentWhat locking providesRemaining responsibility
Tagged actionA recorded execution commitReview that commit before accepting it
Transitive actionDependency coverageReview updates and their diffs
Reusable workflowCall itself is outside this lockfilePin jobs.<job_id>.uses to a full SHA

Things to know and check

  • Inventory actions separately from reusable workflows
  • Generate the record rather than editing it by hand
  • Review diffs and CI before merging
  • Assign responsibility for dependency updates

Sources used for verification

Vendor facts are separated from TechTouch guidance. Features, pricing, and commercial terms may change, so check dates and conditions at the original source.

  1. GitHub Changelog — General availability, 28 October 2026
  2. GitHub Docs — Workflow dependency lockfiles, checked 29 October 2026
  3. GitHub — gh-actions-lock installation and verification
Our editorial approach

Frequently asked questions

Does locking guarantee safe code?

No. It identifies the code being run; reviewing code and workflow permissions remains necessary.

Is Enterprise Server supported?

The README reviewed on October 29 says Enterprise Server is not supported.

Agent Skills and portable agent instructions