You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Having a “universal” lock file will cause version conflicts for big projects. The more workflows the higher the chance of hitting this problem. I'd like to request a way to point a workflow to a different lock file so that it'd be possible to have multiple lock files committed and maintained separately.
This would also allow testing against different sets of dependencies deliberately (one known case is all the known lowest supported versions of actions your automation depends on).
I want to register my support for this idea as well -- I like the current lockfile design as a ground-up approach, but I think the current fractured nature of Actions means that it has a lot of limitations (including documented/known ones like reusable workflows and Docker pinning), but also philosophical ones like "how should composite actions enforce their own pinning?".
If possible, I think it'd be really great for Actions pinning to instead be done in an "intrinsic" manner on each workflow/composite action. For example (making this up completely):
name: exampleon: [push, pull_request]permissions: {}# this could be `true | false | incremental` or `all | none | incremental`# when set, the runner should enforce that state.pinned: truejobs:
example:
name: exampleruns-on: ubuntu-lateststeps:
- uses: actions/checkoutref: v7.0.1# the runner also enforces that this is not an impostor# by confirming that it actually matches the `ref` in the given namespace.hash: sha1-abcd...
On top of @webknjaz's point about edit contention, this also simplifies the integration story for downstream tooling (which I am selfishly interested in 🙂).
Activity
woodruffw commentedon Oct 19, 2026
I want to register my support for this idea as well -- I like the current lockfile design as a ground-up approach, but I think the current fractured nature of Actions means that it has a lot of limitations (including documented/known ones like reusable workflows and Docker pinning), but also philosophical ones like "how should composite actions enforce their own pinning?".
If possible, I think it'd be really great for Actions pinning to instead be done in an "intrinsic" manner on each workflow/composite action. For example (making this up completely):
On top of @webknjaz's point about edit contention, this also simplifies the integration story for downstream tooling (which I am selfishly interested in 🙂).
jessehouwing commentedon Oct 19, 2026
For large monorepos, I've also suggested to allow subfolders under
.github/workflows/*and to lock each folder with its own lockfile.[-][FR] Per-workflow lock files[/-][+]Feature request: Per-workflow lock files[/+]