Skip to content
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

Security - Add SHA Pin to Third Party Actions/Checkout Action #318

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

joethechicken
Copy link

Currently, the third party actions/checkout action specifies a version (v3) rather than pinning the action via a full length commit SHA. GitHub recommends using the full length SHA for security reasons because "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."

This PR pings the third party actions/checkout action to the latest commit of the v3 version. The action will behave exactly the same as it does now, as it uses the same commit, but the SHA pin will protect this repository if the third party action is ever compromised in the future.

Copy link

Quality Gate Passed Quality Gate passed

Kudos, no new issues were introduced!

0 New issues
0 Security Hotspots
No data about Coverage
No data about Duplication

See analysis details on SonarCloud

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant