Skip to content

Commit fcee327

Browse files
authored
fix: use personal token only for auto-merge (#257)
1 parent 1522ddc commit fcee327

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/auto-merge.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,10 @@ jobs:
3030
run: gh pr review --approve "$PR_URL"
3131
env:
3232
PR_URL: ${{ github.event.pull_request.html_url }}
33-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
33+
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3434

3535
- name: Enable auto-merge
3636
run: gh pr merge --auto --squash "$PR_URL"
3737
env:
3838
PR_URL: ${{ github.event.pull_request.html_url }}
39-
GH_TOKEN: ${{ secrets.PERSONAL_TOKEN || secrets.GITHUB_TOKEN }}
39+
GH_TOKEN: ${{ secrets.PERSONAL_TOKEN }}

0 commit comments

Comments
 (0)