-
Notifications
You must be signed in to change notification settings - Fork 52
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
Using a branch or tag version is a security risk #33
Comments
FWIW I was able to use the commit SHA |
Edit: not true, see @TimonVS below, and just make sure any tool you're using that locks the ref to a SHA hash uses one that corresponds to a tagged release |
Thanks for the feedback. The reason you can't use any commit SHA is because the code needs to be compiled first. The latest compiled version is available in the @dominics I'm not entirely sure what you're referring to. Is there any action I can take to make sure this action can be properly updated by Renovate? |
@TimonVS Sorry, I was thinking the assumption by OP was correct, and there were no fully-pinned (sha hash) revisions available for use. As commit hashes that correspond to tagged releases can be used, all that's left is for me to make Renovate use them in my own config (which is possible with a comment in the .yml) 👍 |
It seems the latest version enforces to use the 'v3' tag, failing even when the master commit tag.
For more info, read e.g. https://julienrenaux.fr/2019/12/20/github-actions-security-risk/
So please allow using commit hashes again to select a specific action version and update the documentation.
The text was updated successfully, but these errors were encountered: