ci: change token used for label

This commit is contained in:
Nicolas Meienberger 2023-06-21 23:30:23 +02:00
parent a04d482a5e
commit 0b424197ef

View File

@ -59,8 +59,6 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v3
with:
token: ${{ secrets.PERSONAL_TOKEN }}
- name: Install Node.js
uses: actions/setup-node@v3
@ -154,7 +152,7 @@ jobs:
if: steps.check-bumped-version.outputs.major_bump == 'false'
uses: actions/github-script@v4
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
github-token: ${{ secrets.PERSONAL_TOKEN }}
script: |
github.issues.addLabels({
issue_number: context.issue.number,