chore: pin dependencies (actions, docker, cli)#29460
Conversation
|
I'm absolutely not a fan of this. I want to keep the major versions:
This is specifically 3rd party. We trust GH. |
Also agree that this hurts readability. OpenSSFs recommendation is to pin all actions for full score. But they also differentiate severity between I'll move the GitHub owned back to tags but keep the 3rd party ones (highes risk) pinned. |
|
Sounds like a good compromise. However, the problem is imho more how we chose and validate those. Pinning means they never get updated and tbo, the current version just means "it was there", not "it is secure and has been reviewed". |
This is the same as for go or npm deps. We are in charge of this. |
🔒 improve supply chain security, guard against dependency takeover
✅ improve OpenSSF scorecard https://scorecard.dev/viewer/?uri=github.com/evcc-io/evcc
🤖 dependabot will provide hash upgrade PRs
See also best practice recommendations:
https://docs.github.com/en/actions/reference/security/secure-use#using-third-party-actions
https://github.com/ossf/scorecard/blob/a1d03ef4c261559c5f6081fc91a74e18fd501eb6/docs/checks.md#pinned-dependencies