mirror of
https://gitea.com/actions/checkout.git
synced 2024-11-24 10:41:27 +01:00
Improve PAT documentation
This commit is contained in:
parent
1f9a0c22da
commit
79a832ff0d
1 changed files with 4 additions and 0 deletions
|
@ -36,6 +36,10 @@ When Git 2.18 or higher is not in your PATH, falls back to the REST API to downl
|
||||||
#
|
#
|
||||||
# We recommend using a service account with the least permissions necessary. Also
|
# We recommend using a service account with the least permissions necessary. Also
|
||||||
# when generating a new PAT, select the least scopes necessary.
|
# when generating a new PAT, select the least scopes necessary.
|
||||||
|
# For a basic restricted reference, you can use the same permissions as the
|
||||||
|
# [`GITHUB_TOKEN` gives.](https://docs.github.com/en/actions/security-guides/automatic-token-authentication#permissions-for-the-github_token)
|
||||||
|
# This means creating a "Fine-grained personal access token" with the
|
||||||
|
# `content` and `metadata` permissions.
|
||||||
#
|
#
|
||||||
# [Learn more about creating and using encrypted secrets](https://help.github.com/en/actions/automating-your-workflow-with-github-actions/creating-and-using-encrypted-secrets)
|
# [Learn more about creating and using encrypted secrets](https://help.github.com/en/actions/automating-your-workflow-with-github-actions/creating-and-using-encrypted-secrets)
|
||||||
#
|
#
|
||||||
|
|
Loading…
Reference in a new issue