From d83146c191bfbf2157ca8258828df91fba0aefd3 Mon Sep 17 00:00:00 2001 From: Arthur Meyre Date: Mon, 22 Nov 2021 16:23:17 +0100 Subject: [PATCH] chore: fix package watcher approve PR with repo token --- .github/workflows/package-watcher.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/package-watcher.yaml b/.github/workflows/package-watcher.yaml index 04ecf9e02..5a4893aa2 100644 --- a/.github/workflows/package-watcher.yaml +++ b/.github/workflows/package-watcher.yaml @@ -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 != '' }}