chore: switch to fine-grained PAT

This commit is contained in:
Digikwal 2025-06-26 21:34:12 +02:00 committed by GitHub
parent e3e6dc8cc7
commit 08713bc55a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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"