-
-
Notifications
You must be signed in to change notification settings - Fork 35
Bump GitHub action workflows #230
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
What is the motivation for this PR? Is something broken? |
No.
This PR is meant as mere maintenance measure: |
|
Thank you @deining for making us think about this matter more thoroughly. I'm actually unsure what has more trade-offs: Always keeping dependencies at the latest bleeding version – or the opposite: be even more strict then we are now and pin workflow dependencies to specific commits: https://blog.rafaelgss.dev/why-you-should-pin-actions-by-commit-hash I tend towards the latter – update slowly. Without any update, supply chain attacks become much less likely. I would prefer to only update to latest versions if something is broken in the functionality. @daun what do you think about this? |
Given that it's an open-source project and there are no company secrets or proprietary algorithms in the repo, I'd opt in favor of upgrading here. Whether we do or not, GitHub will deprecate runner and node versions at some point, and then we'll have to upgrade anyway. I prefer incremental updates whenever we feel like it (or somebody is helpful enough to send a PR our way) over urgent ones when things break. Between our current setup (
True, and in the above scenario of a private repo I would agree about the solution of pinning commits. That said, it sounds like a lot of work I don't see us maintainers doing across all repos, and the benefit of all that work is limited for an open-source org. How do you feel about a compromise? — pinning third-party actions to exact tags ( |
|
Ah, that sounds like a good middle ground, thank you @daun ! |
|
Thank you @deining! |
This PR bumps GitHub action workflows to their latest versions.