mirror of
https://github.com/frappe/frappe_docker.git
synced 2026-06-23 00:05:09 +00:00
chore: switch to fine-grained PAT
This commit is contained in:
parent
e3e6dc8cc7
commit
08713bc55a
1 changed files with 1 additions and 5 deletions
6
.github/workflows/auto-merge-fieldmate.yml
vendored
6
.github/workflows/auto-merge-fieldmate.yml
vendored
|
|
@ -9,10 +9,6 @@ on:
|
||||||
- synchronize
|
- synchronize
|
||||||
- reopened
|
- reopened
|
||||||
|
|
||||||
permissions:
|
|
||||||
contents: write
|
|
||||||
pull-requests: write
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
automerge:
|
automerge:
|
||||||
if: startsWith(github.head_ref, 'fieldmate-auto-release')
|
if: startsWith(github.head_ref, 'fieldmate-auto-release')
|
||||||
|
|
@ -21,7 +17,7 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
- name: Enable auto-merge or fallback merge
|
- name: Enable auto-merge or fallback merge
|
||||||
env:
|
env:
|
||||||
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GH_TOKEN: ${{ secrets.GH_RELEASE_PAT }}
|
||||||
PR_NUMBER: ${{ github.event.pull_request.number }}
|
PR_NUMBER: ${{ github.event.pull_request.number }}
|
||||||
run: |
|
run: |
|
||||||
echo "Trying to enable auto-merge for PR #$PR_NUMBER"
|
echo "Trying to enable auto-merge for PR #$PR_NUMBER"
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue