3
0
Fork 0
mirror of https://github.com/actions/checkout.git synced 2024-11-22 11:29:30 +01:00

Change secret name for PAT to not start with GITHUB_ (#623)

Github doesn't allow secret names that start with `GITHUB_` (case insensitive). Update README to choose a different prefix (GH).
This commit is contained in:
Ameya Lokare 2021-11-03 02:50:59 +05:30 committed by GitHub
parent ec3a7ce113
commit 230611dbd0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -185,7 +185,7 @@ Refer [here](https://github.com/actions/checkout/blob/v1/README.md) for previous
uses: actions/checkout@v2 uses: actions/checkout@v2
with: with:
repository: my-org/my-private-tools repository: my-org/my-private-tools
token: ${{ secrets.GitHub_PAT }} # `GitHub_PAT` is a secret that contains your PAT token: ${{ secrets.GH_PAT }} # `GH_PAT` is a secret that contains your PAT
path: my-tools path: my-tools
``` ```