News for hackers. Stuff that matters.
Re:Lock Your GitHub Actions by Already__Taken on Wednesday November 11, 2026 @05:23PM (#50459589)
Quoting someone else's blog I've forgotten but you're trading the trust in the repo owner not moving a tag for trusting whoever merges the commit hash to have checked that's a release in the repo you want and not _some_ forks commit. All forks on github are the same repo you can pin any commit, merged upstream or not.

IMO Github should make Immutable tags mandatory to publish on https://github.com/marketplace

Re:Lock Your GitHub Actions by woodruffw on Wednesday November 11, 2026 @05:46PM (#50459931)
Actions lockfiles prevent this. They won't allow you to lock an impostor commit, which is the right default.

(The previous way to provide general actions immutability, i.e. hash-pinning, had this issue and thus required additional checks.)

Re:Lock Your GitHub Actions by OptionOfT on Wednesday November 11, 2026 @06:12PM (#50460291)
One could write an action that executes a shell script that does docker pull abc:latest.

As the consumer of an action that becomes really hard to find out unless I take the whole codebase apart.

Re:Lock Your GitHub Actions by embedding-shape on Thursday November 12, 2026 @09:37AM (#50468001)
> As the consumer of an action that becomes really hard to find out unless I take the whole codebase apart.

Maybe it's just me, but I only use (public) Actions I'm able to review in an hour or less, meaning less than 5K LOC or so. Not sure how people are able to just "consume" 3rd party GitHub Actions and not even review what exactly they do, how are people comfortable with the risks this opens up? It's literally supply-chain wild west, but seemingly people continue like it's 2010.

Re:Lock Your GitHub Actions by chrisweekly on Wednesday November 11, 2026 @06:31PM (#50460502)
I almost forgot about that completely outrageous treatment of forks -- just bonkers.
Re:Lock Your GitHub Actions by Bnjoroge on Thursday November 12, 2026 @01:10AM (#50463638)
That’s exactly what lockfiles are intended to avoid!
Re:Lock Your GitHub Actions by eviks on Thursday November 12, 2026 @02:45AM (#50464214)
Why not make the marketplace published tags immutable instead like others do?