News for hackers. Stuff that matters.
Re:Popular GitHub Action tj-actions/changed-files is comprom... by jrockway on Saturday March 15, 2025 @03:41AM (#43370773)
You can trust (in time), but you can't blindly upgrade. Vendor or choose to "lock" with a cryptographic hash over the files your build depends on. You then need to rebuild that trust when you upgrade (wait until everyone else does; read the diffs yourself).

There is something to be said for the Go proverb "a little copying is better than a little dependency", as well. If you want a simple function from a complicated library, you can probably copy it into your own codebase.

Re:Popular GitHub Action tj-actions/changed-files is comprom... by ronjouch on Tuesday March 18, 2025 @01:31PM (#43402160)
> the Go proverb "a little copying is better than a little dependency"

What a nice way to put it! Thanks for the mention and thanks for making me discover https://go-proverbs.github.io/ .