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

Pin GHA dependencies to their specific hashes #4413

Open
agriyakhetarpal opened this issue Sep 4, 2024 · 1 comment
Open

Pin GHA dependencies to their specific hashes #4413

agriyakhetarpal opened this issue Sep 4, 2024 · 1 comment
Labels
difficulty: easy A good issue for someone new. Can be done in a few hours

Comments

@agriyakhetarpal
Copy link
Member

It is better to pin various actions used across our workflows to their release hash instead of just the version. This helps mitigate concerns around software supply-chain attacks through external workflows. Dependabot can update the version string in a comment and the commit hash when updating the action.

If someone wants to do this: this can be done manually, but there are some tools that can do this in an automated manner that might work too: https://stacklok.com/blog/introducing-frizbee-an-open-source-command-line-utility-to-simplify-securing-github-actions

Stemmed off from #4411 (comment).

@agriyakhetarpal agriyakhetarpal added the difficulty: easy A good issue for someone new. Can be done in a few hours label Sep 4, 2024
@agriyakhetarpal
Copy link
Member Author

Another tool to do this: https://gha-update.readthedocs.io/en/latest/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
difficulty: easy A good issue for someone new. Can be done in a few hours
Projects
None yet
Development

No branches or pull requests

1 participant