From a8b8e1af46bd142038061c4e23bdeaf89dd17e25 Mon Sep 17 00:00:00 2001 From: Robert Sese Date: Mon, 18 Oct 2021 11:14:51 -0500 Subject: [PATCH] Approve PRs with GITHUB_TOKEN again (#22211) --- .github/workflows/repo-sync.yml | 2 +- .github/workflows/translations.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/repo-sync.yml b/.github/workflows/repo-sync.yml index eb0b936124..d02af718f5 100644 --- a/.github/workflows/repo-sync.yml +++ b/.github/workflows/repo-sync.yml @@ -143,7 +143,7 @@ jobs: if: ${{ steps.find-pull-request.outputs.number }} uses: juliangruber/approve-pull-request-action@c530832d4d346c597332e20e03605aa94fa150a8 with: - github-token: ${{ secrets.DOCUBOT_REPO_PAT }} + github-token: ${{ secrets.GITHUB_TOKEN }} number: ${{ steps.find-pull-request.outputs.number }} # Because we get far too much spam ;_; diff --git a/.github/workflows/translations.yml b/.github/workflows/translations.yml index 0a609e5f72..62b26084d9 100644 --- a/.github/workflows/translations.yml +++ b/.github/workflows/translations.yml @@ -50,7 +50,7 @@ jobs: name: Approve Pull Request uses: juliangruber/approve-pull-request-action@c530832d4d346c597332e20e03605aa94fa150a8 with: - github-token: ${{ secrets.DOCUBOT_REPO_PAT }} + github-token: ${{ secrets.GITHUB_TOKEN }} number: ${{ steps.pr.outputs.number }} - if: ${{ !steps.has-label.outputs.result }} name: Add automerge label