Skip to content

Commit 4d4da71

Browse files
committed
Use GITHUB_TOKEN instead of PAT for major tag update workflow
1 parent e0418e4 commit 4d4da71

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

.github/workflows/update-major-tag.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ jobs:
2222
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
2323
with:
2424
ref: ${{ inputs.tag || github.ref }}
25-
token: ${{ secrets.GH_PAT_FOR_UPDATE_TAG }}
2625
persist-credentials: false
2726

2827
- name: Extract major version
@@ -37,7 +36,7 @@ jobs:
3736
env:
3837
MAJOR: ${{ steps.version.outputs.major }}
3938
TAG: ${{ inputs.tag || github.ref_name }}
40-
GH_TOKEN: ${{ secrets.GH_PAT_FOR_UPDATE_TAG }}
39+
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4140
run: |
4241
git config user.name "github-actions[bot]"
4342
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"

0 commit comments

Comments
 (0)