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

[grace-hopper-day] Pin Github Actions by commit-hash - nodejs/diagnostics #1107

Closed
RafaelGSS opened this issue Sep 16, 2023 · 0 comments
Closed

Comments

@RafaelGSS
Copy link
Member

Pin Actions to a full length commit SHA

Repository: https://github.com/nodejs/diagnostics

Why is this needed?

Before and After the fix

Before the fix, your workflow may look like this (use of v1 and latest tags)

After the fix, Secure-Repo pins each Action and docker image to an immutable checksum.

Pull request example: electron/electron#36343

In this pull request, the workflow file has the GitHub Actions tags pinned automatically to their full-length commit SHA.

Screenshot of Action pinned to commit SHA


From: https://github.com/step-security/secure-repo#3-pin-actions-to-a-full-length-commit-sha

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

No branches or pull requests

1 participant