Skip to content

Commit b72d59a

Browse files
committed
ci: rename secrets.GITHUB_TOKEN to github.token for clarity
It becomes clear that this isn't a repo configured secret, but the token made available by github's system.
1 parent 45fd099 commit b72d59a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/tests.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
env:
3838
# Use TOKEN_READONLY if available (pushed branches), otherwise use GITHUB_TOKEN (PRs)
3939
# TOKEN_READONLY is a PAT for @choldgraf that only has read-access to this repo but isn't available in PRs.
40-
GITHUB_ACCESS_TOKEN: "${{ secrets.TOKEN_READONLY || secrets.GITHUB_TOKEN }}"
40+
GITHUB_ACCESS_TOKEN: "${{ secrets.TOKEN_READONLY || github.token }}"
4141
strategy:
4242
matrix:
4343
include:

0 commit comments

Comments
 (0)