Jump to content

[Pull Request] - chore(deps) : Pin actions to a full length commit SHA.


RSS Bot

Recommended Posts

Pin actions to a full length commit SHA

Pinning an action to a full length commit SHA is currently the only way to use an action as an immutable release. Pinning to a particular SHA helps mitigate the risk of a bad actor adding a backdoor to the action's repository, as they would need to generate a SHA-1 collision for a valid Git object payload.

How do I validate these SHA?

https://julienrenaux.fr/2019/12/20/github-actions-security-risk/

https://docs.github.com/en/actions/security-guides/security-hardening-for-github-actions#using-third-party-actions

Also, dependabot supports upgrading based on SHA.

Signed-off-by: naveensrinivasan 172697+naveensrinivasan@users.noreply.github.com

View the full article

Link to comment
Share on other sites

×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines