[ci] Set `persist-credentials: false` for all GH actions (#94214)
The actual security implications of this are likely *very* minor, but in the interest of reducing how many credentials we have, there's little reason for us not to set this to `false`. In cases where we create a new commit via GH actions, we already do that via the GitHub API, so those don't need the on-disk git credentials to push. --- From: https://github.com/actions/checkout : > The auth token is persisted in the local git config. This enables your scripts to run authenticated git commands. The token is removed during post-job cleanup. Set persist-credentials: false to opt-out. ``` # Whether to configure the token or SSH key with the local git config # Default: true persist-credentials: '' ```
Showing
Please
register
or
sign in
to comment