Skip to content

Build Not yet confirmed elsewhere1 publisher 2 min read Published

A moved tag can no longer change what an onboarded GitHub Actions workflow runs

GitHub put workflow lockfiles in public preview, so onboarded Actions runs use the commits recorded in actions.lock even if a tag or branch moves. The lock does not assess whether the action is safe; that review stays with the team.

The Engineer · Build desk

How we use AI Send a correction

Lockfiles fix the commit, not whether it is safe How workflow lockfiles reach onboarded workflows, their dependencies, reviewers, lock owners, onboarding teams and reusable workflows.

Who the lockfile reaches: onboarded workflows run recorded commits even if a tag moves; the lock does not assess action safety; reviewers confirm repositories and commits; owners regenerate stale locks; reusable workflows stay in inventory; the guide advises one workflow first.

Lockfiles fix the commit, not whether it is safe
WhoHowKindClaim
Onboarded workflowsRuns use the commits recorded in the lockfile even if a tag or branch movescapability3
Workflow dependenciesThe lock records which commit each resolves to; it does not assess whether the action is safeconstraint6
ReviewersShould confirm every resolved repository was intended and each commit matches the version meantcost15
Lock ownerRegenerates the lock when the stale-lock check fails and reviews which references changedcost18
Reusable workflowsCovered by the lockfile where defined; locking the caller leaves their dependencies in your inventoryexposure8
Teams starting onboardingGuide advises one pull-request or non-production workflow first, then release or deployment automationdecision14

What happened

  • The preview covers Free, Team and eligible Enterprise Cloud plans, and the gh actions-lock extension generates the file at .github/workflows/actions.lock.
  • The lock records direct actions, transitive action dependencies and reusable-workflow dependencies, so a workflow's whole resolved set sits in one file.
  • GitHub's October 14 announcement also describes gradual onboarding, policy enforcement and Dependabot updates.

Why it matters

  • constraint The lock fixes which commit runs but does not check whether that commit is good, so a bad commit approved at generation time is pinned as firmly as a good one.
  • cost Each adopting team takes on a generated file to keep current: a CI staleness job, an owner who regenerates it, and a lock diff to review with every action update.
  • decision Teams must pick an onboarding order. The guide advises one pull-request or non-production workflow first, with release and deploy automation next, before any repository-wide requirement.
  • exposure A reusable workflow is covered by the lockfile in the repository that defines it, so a caller's lock leaves a separate repository's dependencies on the inventory.

The dev.to guide frames the problem as a gap between the commit a team reviewed and the commit a later run executes [16]. Pinning every action to a full SHA by hand narrows that gap, but the guide says transitive dependencies and reusable workflow calls are easy to miss that way [12].

The lockfile changes where the pin lives. The workflow keeps a readable ref such as owner/action@v3, and the generated lock records the exact commit [7]. Because the lock also covers transitive dependencies, a reviewer sees the resolved set instead of trusting each top-level tag [17]. Each dependency entry holds the reference, the resolved commit and the repository identity [9].

The guide is direct about the limit: the lock records which commit a dependency resolves to, and it does not assess whether the action is safe [6]. A malicious commit that a reviewer waves through is recorded and executed as faithfully as a good one [3]. In our view, the control point moves from every run to every lock diff.

That puts the weight on whoever reads the diff. The guide's checklist is to confirm that each resolved repository is one the team meant to use and that each commit matches the version it meant to adopt [15].

The running cost is small but real. The file is generated, and the guide warns against editing it by hand, because an altered entry can no longer be trusted to match what the generator resolved [13]. To catch drift, the extension can check whether the lockfile is current without modifying it, which suits a CI job [10]. When that check fails, the owner regenerates the lock, reviews which references changed, and commits the update with the workflow change [18].

After onboarding, the guide says missing entries should fail visibly instead of falling back to a floating tag [11]. We'd test that on the first workflow before relying on it.

The guide lists policy enforcement and Dependabot updates among the features in GitHub's October 14 announcement but does not detail how either is configured [5].

What to watch

  • Whether GitHub documents how policy enforcement is configured, and whether an organization can require onboarding across repositories.
  • How Dependabot updates to an onboarded action show up in a pull request, and whether the lock diff is reviewable at that point.
  • Whether the preview adds any check on the content or provenance of a locked commit, which the current description does not include.

Clarity's read

What the record supports and how the coverage leans. The claims behind it follow.

Reality

Evidence45
Adoption
Insufficient
Hype gap−10
Incentives
Insufficient
Confidence50
Why these scores

Claim ledger

Ranked by verification strength, evidence, and original report placement.

  1. [1]

    GitHub Actions workflow dependency lockfiles are in public preview for Free, Team, and eligible Enterprise Cloud plans.

    Reported Supported Source: dev.to guide describing GitHub's October 14 announcementView cited source
  2. [2]

    The GitHub CLI extension gh actions-lock generates .github/workflows/actions.lock.

    Reported Supported Source: dev.to guide describing GitHub's October 14 announcementView cited source
  3. [3]

    GitHub says an onboarded workflow must have its dependencies represented in the lockfile, and runs use the recorded commits even if a tag or branch moves.

    Reported Supported Source: GitHub, as relayed by the dev.to guideView cited source

Get this ledger inside ChatGPT. Ask about any of our stories and the answer brings its figure, each claim’s verdict and the sources. Free, no account.

Add to ChatGPTAdd to Claude

Sources

1 independent publisher whose own reporting we read for this story.

  1. dev.to

    1 article · October 14, 2026

    Lock GitHub Actions dependencies to reviewed commits with workflow lockfiles

Share your take

Let Clarity write the post for you.

Signed-in readers get a short post drafted on this story in the register they choose — narrative, analytical, or a direct position — editable to the last word before it goes anywhere. The share buttons at the top of this story work without an account.

Topics and entities

Follow any of these and your For You feed starts watching them — no settings page required.

Loading related stories