chore: fix package watcher approve PR with repo token

This commit is contained in:
Arthur Meyre
2021-11-22 16:23:17 +01:00
parent 09eb6eae10
commit d83146c191

View File

@@ -61,7 +61,7 @@ jobs:
if: ${{ fromJSON(env.SHOULD_RUN) && env.LATEST_COMPILER_PACKAGE_TIMESTAMP != '' }}
uses: hmarr/auto-approve-action@6a9ec7556f0a7fa5b49527a1eea4878b8a22d2e0
with:
github-token: ${{ secrets.BOT_TOKEN }}
github-token: ${{ secrets.GITHUB_TOKEN }}
pull-request-number: ${{ steps.cpr.outputs.pull-request-number }}
- name: Enable auto-merge for PR
if: ${{ fromJSON(env.SHOULD_RUN) && env.LATEST_COMPILER_PACKAGE_TIMESTAMP != '' }}