logoalt Hacker News

aleaph • yesterday at 11:22 PM • 3 replies • view on HN

So "SHA pinning with version reference in a comment" with extra steps, got it


Replies

sleepytimetea • today at 1:46 AM

Yes, I scratched my head trying to understand what this accomplishes. It just puts a tag back instead of a SHA but now moves the SHA (locked in) to a separate file that now needs to be verified ? I fail to see how this is better or needed.

edelbitter • today at 2:28 AM

SHA pinning on GitHub does not always imply account pinning, even where the account name is explicitly specified along with it.

So some of the extra steps are meaningful. Though I am still not convinced they could not have been implemented in a deliberately backwards-incompatible way to Github action in general, keeping the syntax and removing only the special case that is never both intentional and non-malicious at the same time.

OptionOfT • yesterday at 11:30 PM

Enforced through GitHub Actions that is :)