From b23a892f5b9f76a2aa1a15670ed32b424ffe7452 Mon Sep 17 00:00:00 2001 From: Chris Hennick <4961925+Pr0methean@users.noreply.github.com> Date: Sun, 28 Apr 2024 12:12:48 -0700 Subject: [PATCH] ci: Bug fix? Use PAT for auto-merge but not for fetching metadata --- .github/workflows/auto_merge_prs.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/auto_merge_prs.yml b/.github/workflows/auto_merge_prs.yml index 7cbf05d0..01293913 100644 --- a/.github/workflows/auto_merge_prs.yml +++ b/.github/workflows/auto_merge_prs.yml @@ -19,6 +19,5 @@ jobs: - name: Enable auto-merge run: gh pr merge --auto --merge "$PR_URL" env: - PR_URL: ${{github.event.pull_request.html_url}} - OWNER: ${{ github.repository_owner }} - GH_TOKEN: "${{ github.token }}" + PR_URL: ${{github.event.pull_request.html_url}}∂ + GH_TOKEN: "${{ secrets.RELEASE_PLZ_PAT }}"