Skip to content

Commit a14e93c

Browse files
committed
chore: use PAT instead of GITHUB_TOKEN
1 parent a34c2bc commit a14e93c

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

.github/workflows/on-tag-creation.yml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,6 @@ on:
77
# tags:
88
# - '*'
99

10-
permissions:
11-
contents: write
12-
pull-requests: write
13-
1410
# Kill other jobs when we trigger this workflow by sending new commits
1511
# to the PR.
1612
# https://stackoverflow.com/a/72408109
@@ -49,7 +45,8 @@ jobs:
4945
workflow-file-name: ${{ matrix.files }}
5046
workflow-yaml-key: 'version'
5147
pull-request: true
52-
github-token: ${{ secrets.GITHUB_TOKEN }}
48+
# needs to be a PAT to update the workflows/ folder
49+
github-token: ${{ secrets.PAT_GITHUB }}
5350
base-branch: master
5451
git-tags: ${{ env.THIS_GIT_TAGS }}
5552

0 commit comments

Comments
 (0)