A tag is a label, not a frozen object
GitHub Actions workflows often reference an action with a tag such as actions/checkout@v4. The tag can move after review. GitHub's new workflow dependency lockfiles keep the readable reference in the workflow while the runner executes the commit recorded in .github/workflows/actions.lock.[1]
The public preview covers GitHub Enterprise Cloud and GitHub Enterprise Cloud with data residency. Teams can onboard one workflow at a time. Once a workflow is onboarded, every action dependency it uses must have a lockfile entry.[1]
The useful part is the second hop
A full commit SHA in a workflow pins the direct action. GitHub's lockfile also records actions used by that action. The docs call these transitive dependencies. The file also records repository identity, and the runner checks that identity before execution.[2]
Reusable workflow calls need a boundary note. The caller's lockfile records the reusable workflow itself, but dependencies inside that reusable workflow belong to the lockfile in the repository where it is defined.[2] One green lock icon cannot describe both repositories.
Put drift checks in the normal review lane
The official CLI extension generates the lockfile and can verify it without writing changes. Its online --verify check confirms recorded refs and repository identity. The offline --verify-local mode only checks that entries exist, so it cannot establish that the entries are trustworthy.[3]
Dependabot can update the workflow reference and matching lockfile entry in one pull request. That gives reviewers one place to inspect the label change and the commit change together.[1]
Adopt it as a controlled migration
Start with a workflow that uses third party actions and has a clear owner. Generate the file, inspect every new commit, add online verification to continuous integration, and record who reviews dependency updates. Move the next workflow only after the first one has a boring update path.
The preview still has eligibility limits. The extension README says workflows with local path actions are skipped for onboarding. Check the current limits before making a repository policy depend on lockfiles.[3]