65 points gslin 1 hour ago 12 comments
Already__Taken 1 hour ago | parent
IMO Github should make Immutable tags mandatory to publish on https://github.com/marketplace
woodruffw 1 hour ago | parent
(The previous way to provide general actions immutability, i.e. hash-pinning, had this issue and thus required additional checks.)
OptionOfT 39 minutes ago | parent
As the consumer of an action that becomes really hard to find out unless I take the whole codebase apart.
chrisweekly 19 minutes ago | parent
SchemaLoad 1 hour ago | parent
ezekg 1 hour ago | parent
eddythompson80 1 hour ago | parent
woodruffw 1 hour ago | parent
- They only lock normal action calls. If your workflows invoke other reusable workflows, you need to keep those hash-pinned manually for now.
- Composite actions are not themselves locked. Instead, they get locked transitively through their callsites i.e. the workflows that call them. This makes any individual caller that uses lockfiles safe, but it also makes the current `gh actions-lock` default unsafe (since it removes hash-pins from the composite action itself, meaning that any external caller that invokes the action loses their transitive pinning).
- Other forms of `uses:` clauses, like Docker images, are also not currently locked via the lockfile. And the same for forms of interior mutability (like an action running `npx ...` under the hood, although the latter is fully outside of GitHub's control to prevent. But these mean that you can't assume that a fully locked Actions setup is in fact 100% immutable.
I hope they address these gaps soon, because it's otherwise an excellent (and long-awaited) feature.
lukasschwab 48 minutes ago | parent
gbraad 23 minutes ago | parent