logoalt Hacker News

AndrewDucker • yesterday at 7:41 PM • 1 reply • view on HN

Unless you link using tags.


Replies

crote • yesterday at 9:15 PM

Which is considered a Really Bad Idea because tags aren't immutable, so there's absolutely zero guarantee that it'll point to the same commit a few months from now.

The GitHub Actions ecosystem found out the hard way, through some rather high-profile compromises. They hotfixed it by adding "immutable tags" to their platform, and are now working on adding a lockfile to... easily reference a commit hash.

➕ show 1 reply