We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2d9cfd8 commit 01c5b9aCopy full SHA for 01c5b9a
.github/workflows/auto-merge.yml
@@ -9,8 +9,9 @@ jobs:
9
steps:
10
- run: |
11
set -x
12
- gh pr review --approve --repo "$GITHUB_REPOSITORY" "$PR"
13
- gh pr merge --auto --merge --repo "$GITHUB_REPOSITORY" "$PR"
+ GH_TOKEN=$GHA_TOKEN gh pr review --approve --repo "$GITHUB_REPOSITORY" "$PR"
+ GH_TOKEN=$BOT_TOKEN gh pr merge --auto --merge --repo "$GITHUB_REPOSITORY" "$PR"
14
env:
15
PR: ${{ github.event.number }}
16
- GH_TOKEN: ${{ github.token }}
+ GHA_TOKEN: ${{ github.token }}
17
+ BOT_TOKEN: ${{ secrets.GH_RELEASE_PAT }}
0 commit comments