From 08713bc55af83abc949c3afe11ef91195d010a99 Mon Sep 17 00:00:00 2001 From: Digikwal <79085106+digikwal@users.noreply.github.com> Date: Thu, 26 Jun 2025 21:34:12 +0200 Subject: [PATCH] chore: switch to fine-grained PAT --- .github/workflows/auto-merge-fieldmate.yml | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/.github/workflows/auto-merge-fieldmate.yml b/.github/workflows/auto-merge-fieldmate.yml index 0c294a25..b2b5a329 100644 --- a/.github/workflows/auto-merge-fieldmate.yml +++ b/.github/workflows/auto-merge-fieldmate.yml @@ -9,10 +9,6 @@ on: - synchronize - reopened -permissions: - contents: write - pull-requests: write - jobs: automerge: if: startsWith(github.head_ref, 'fieldmate-auto-release') @@ -21,7 +17,7 @@ jobs: steps: - name: Enable auto-merge or fallback merge env: - GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} + GH_TOKEN: ${{ secrets.GH_RELEASE_PAT }} PR_NUMBER: ${{ github.event.pull_request.number }} run: | echo "Trying to enable auto-merge for PR #$PR_NUMBER"