07
Frequently asked questions
Which dependencies do workflow lockfiles cover?
They record resolved workflow dependencies such as referenced Actions and reusable workflows, including dependency details described in GitHub’s documentation. They do not lock your entire CI environment: local Action code, runner images, Xcode, scripts, secrets, and external services need their own ownership and change controls. Check the documented resolution rules before treating a repository as fully covered.
How does a lockfile compare with a full commit SHA?
A full commit SHA makes an individual reference explicit in the workflow, but teams still need to discover and update every reference, including transitive dependencies where applicable. A lockfile records resolved workflow dependencies in a reviewable file. Neither method proves that the pinned code is safe; you still need source review, vulnerability response, and a controlled update process.
Is runner isolation still necessary for Mac CI?
Yes. A lockfile can help prevent an unreviewed dependency reference from silently resolving to different code, but it does not contain a compromised runner or protect credentials exposed to a job. Keep runner access narrow, separate signing authority from general build work, and treat runner lifecycle and secret handling as independent security controls.
What is a safe enterprise path to Require lockfile?
Start by generating and validating lockfiles without blocking production workflows. Review coverage, update ownership, and evaluation results in a limited set of repositories; then resolve exceptions and test real Mac jobs before expanding enforcement. GitHub announced the feature and policy in public preview, so verify current eligibility, behavior, and administration steps in its documentation before enabling a rule.