Skip to content

Commit 230611d

Browse files
authored
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).
1 parent ec3a7ce commit 230611d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ Refer [here](https://github.com/actions/checkout/blob/v1/README.md) for previous
185185
uses: actions/checkout@v2
186186
with:
187187
repository: my-org/my-private-tools
188-
token: ${{ secrets.GitHub_PAT }} # `GitHub_PAT` is a secret that contains your PAT
188+
token: ${{ secrets.GH_PAT }} # `GH_PAT` is a secret that contains your PAT
189189
path: my-tools
190190
```
191191

0 commit comments

Comments
 (0)