Skip to content

Commit 0a65cee

Browse files
committed
fix: use personal token only for auto-merge
1 parent d636cca commit 0a65cee

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.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 --merge "$PR_URL"
3737
env:
3838
PR_URL: ${{ github.event.pull_request.html_url }}
39-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
39+
GH_TOKEN: ${{ secrets.PERSONAL_TOKEN }}

0 commit comments

Comments
 (0)