Skip to content

Commit 3c579f3

Browse files
authored
Change GITHUB_TOKEN to use secrets for PR actions
Updated GITHUB_TOKEN to use secrets.GYGROBOT_TOKEN for approvals and merges.
1 parent 1b56390 commit 3c579f3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/auto-approve.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,10 @@ jobs:
1919
run: gh pr review --approve "$PR_URL"
2020
env:
2121
PR_URL: ${{ github.event.pull_request.html_url }}
22-
GITHUB_TOKEN: ${{ github.token }}
22+
GITHUB_TOKEN: ${{ secrets.GYGROBOT_TOKEN }}
2323

2424
- name: auto-merge Dependabot PR
2525
run: gh pr merge --auto --squash "$PR_URL"
2626
env:
2727
PR_URL: ${{ github.event.pull_request.html_url }}
28-
GITHUB_TOKEN: ${{ github.token }}
28+
GITHUB_TOKEN: ${{ secrets.GYGROBOT_TOKEN }}

0 commit comments

Comments
 (0)