-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Disable credential persisting for actions/checkout
#1859
Comments
@maschad Yes, it's still relevant. I disabled |
Thanks for clarifying @nedsalk , there seems to be discrepancy though between the documented default and the code though, so it may actually be a documentation issue in actions/checkout#485 and the default of Reference: actions/checkout#485 (comment) |
I'm closing this based on my previous comment, feel free to re-open otherwise. |
It seems that the default behavior of
persist-credentials:true
is generally a security issue (actions/checkout#485). We should be disabling it in all of our workflows. Some jobs might fail if they were depending on this persisted value. The solution would be to define it in the job's environment, e.g.:For more info, take a look at #1848 where this problem was found.
The text was updated successfully, but these errors were encountered: