Skip to content

Commit 44445d0

Browse files
authored
fix:Update approve-merge.yml (#375)
Updates to add a new GH_APPROVER_TOKEN, to fix the workflow.
1 parent 6aacaed commit 44445d0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/approve-merge.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,10 +41,10 @@ jobs:
4141
run: gh pr review --approve "$PR_URL"
4242
env:
4343
PR_URL: ${{ github.event.pull_request.html_url }}
44-
GH_TOKEN: ${{ secrets.GH_MERGE_TOKEN }}
44+
GH_TOKEN: ${{ secrets.GH_APPROVER_TOKEN }}
4545

4646
- name: Merge PR
4747
run: gh pr merge --auto --squash --delete-branch "$PR_URL"
4848
env:
4949
PR_URL: ${{ github.event.pull_request.html_url }}
50-
GH_TOKEN: ${{ secrets.GH_MERGE_TOKEN }}
50+
GH_TOKEN: ${{ secrets.GH_APPROVER_TOKEN }}

0 commit comments

Comments
 (0)