diff --git a/.github/workflows/auto-queue.yml b/.github/workflows/auto-queue.yml index 2ba432931..eb4792c38 100644 --- a/.github/workflows/auto-queue.yml +++ b/.github/workflows/auto-queue.yml @@ -6,10 +6,6 @@ on: types: [opened, ready_for_review] branches: [main] -permissions: - contents: write - pull-requests: write - jobs: enable-auto-merge: if: >- @@ -19,5 +15,5 @@ jobs: steps: - name: Enable auto-merge env: - GH_TOKEN: ${{ github.token }} + GH_TOKEN: ${{ secrets.MERGE_QUEUE_TOKEN }} run: gh pr merge ${{ github.event.pull_request.number }} --repo ${{ github.repository }} --auto --rebase