Re:Use GitHub actions at your own risk
by hn_throwaway_99 on Friday December 20, 2019 @02:45PM
(#21846832)
This is an excellent point, and should solve the issue I put below about builds taking forever when pulling in a slow-building action.
If I'm using a marketplace action in my workflow, I want "foo/[email protected]" to be treated like a binary package dependency, not a build from sourcecode.
Still, recommending git SHAs has real ergonomic and maintainability issues, and while it’s more defensive it doesn’t prevent left-pad style broken builds due to disappearing content.
And at the same time, GitHub is investing heavily in package management infrastructure. I don’t say this lightly because designing good dependency management systems is much more subtle and difficult than people typically recognize, but from where I sit this appears to be fundamentally a dependency management concern. It seems a shame not to try to put GitHub Package Registry to good work here. Is that something potentially on the horizon?