diff --git a/.github/workflows/enterprise-dates.yml b/.github/workflows/enterprise-dates.yml index 6c14bb6373..01a233bc02 100644 --- a/.github/workflows/enterprise-dates.yml +++ b/.github/workflows/enterprise-dates.yml @@ -71,6 +71,7 @@ jobs: - name: Enable GitHub auto-merge if: ${{ steps.create-pull-request.outputs.pull-request-number }} env: + GITHUB_TOKEN: ${{ secrets.DOCUBOT_REPO_PAT }} AUTOMERGE_PR_NUMBER: ${{ steps.create-pull-request.outputs.pull-request-number }} run: node .github/actions-scripts/enable-automerge.js diff --git a/.github/workflows/repo-sync.yml b/.github/workflows/repo-sync.yml index 51b199f740..32f009c63d 100644 --- a/.github/workflows/repo-sync.yml +++ b/.github/workflows/repo-sync.yml @@ -217,6 +217,7 @@ jobs: - name: Enable GitHub auto-merge if: ${{ steps.find-pull-request.outputs.number }} env: + GITHUB_TOKEN: ${{ secrets.OCTOMERGER_PAT_WITH_REPO_AND_WORKFLOW_SCOPE }} AUTOMERGE_PR_NUMBER: ${{ steps.find-pull-request.outputs.number }} run: node .github/actions-scripts/enable-automerge.js diff --git a/.github/workflows/update-graphql-files.yml b/.github/workflows/update-graphql-files.yml index 6e938767d7..d4ae85d530 100644 --- a/.github/workflows/update-graphql-files.yml +++ b/.github/workflows/update-graphql-files.yml @@ -64,6 +64,7 @@ jobs: - name: Enable GitHub auto-merge if: ${{ steps.create-pull-request.outputs.pull-request-number }} env: + GITHUB_TOKEN: ${{ secrets.DOCUBOT_REPO_PAT }} AUTOMERGE_PR_NUMBER: ${{ steps.create-pull-request.outputs.pull-request-number }} run: node .github/actions-scripts/enable-automerge.js