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
{{ message }}
Repository navigation
Use lockfiles for github action dependencies #5530
Dependabot is actually counterintuitive in terms of safety - essentially it's caused incidents by trying to update too quickly as soon as a new release is out. We've seen it be used as an attack vector before.
Dependabot is actually counterintuitive in terms of safety - essentially it's caused incidents by trying to update too quickly as soon as a new release is out. We've seen it be used as an attack vector before.
You can force it to use a 7-day+ cooldown before adopting a new release to mitigate that. After a week or two, most supply chain stuff gets discovered/yanked/patched. I'm not necessarily saying we should use dependabot--it is indeed polarizing in the community.
And, apologies for making this even more complicated, but an even more secure alternative is now being proposed via GitHub actions lockfiles. See https://hugovk.dev/blog/2026/lock-github-actions/ for example. There's some debate around starting to adopt that selectively upstream, with perhaps some desire to a wait a little bit longer since it just entered general availability.
To clarify, the main reason I believe that's more secure is that it also locks transitive GHA deps as well. The lockfile is also fairly human readable.
I 100% agree with @tylerjereddy - we should be u sing llock files instead. The original issue, I think, was made before lock files were officially supported.
Activity
IAlibay commentedon Oct 27, 2026
Will aim to do this as part of my post-release cleanup.
orbeckst commentedon Nov 13, 2026
What do you think about enabling dependabot to help keeping GH actions updated, too?
IAlibay commentedon Nov 13, 2026
Dependabot is actually counterintuitive in terms of safety - essentially it's caused incidents by trying to update too quickly as soon as a new release is out. We've seen it be used as an attack vector before.
tylerjereddy commentedon Nov 13, 2026
You can force it to use a 7-day+ cooldown before adopting a new release to mitigate that. After a week or two, most supply chain stuff gets discovered/yanked/patched. I'm not necessarily saying we should use dependabot--it is indeed polarizing in the community.
And, apologies for making this even more complicated, but an even more secure alternative is now being proposed via GitHub actions lockfiles. See https://hugovk.dev/blog/2026/lock-github-actions/ for example. There's some debate around starting to adopt that selectively upstream, with perhaps some desire to a wait a little bit longer since it just entered general availability.
tylerjereddy commentedon Nov 13, 2026
To clarify, the main reason I believe that's more secure is that it also locks transitive GHA deps as well. The lockfile is also fairly human readable.
IAlibay commentedon Nov 13, 2026
I 100% agree with @tylerjereddy - we should be u sing llock files instead. The original issue, I think, was made before lock files were officially supported.
I'm going to rename the issue to match it.
[-]Use hashes instead of versions for CI actions[/-][+]Use lockfiles for github action dependencies[/+]