Skip to content

Commit

Permalink
automerge must use a PAT in order to trigger deployment workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
cmcarthur committed Nov 14, 2023
1 parent bce7bed commit 8dba733
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/auto-merge.yml
Original file line number Diff line number Diff line change
@@ -1,28 +1,28 @@
# Uses https://github.com/pascalgn/automerge-action and https://github.com/actions/labeler

name: Auto-merge
on:
on:
pull_request:
types: [ opened, synchronize, reopened ]
check_suite:
types: [ completed ]

permissions: write-all


jobs:
automerge:
runs-on: ubuntu-latest
steps:
steps:
- name: Auto-label
uses: actions/labeler@v4
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
repo-token: ${{ secrets.AUTOMERGE_PAT }}

- name: Auto-merge
uses: pascalgn/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.AUTOMERGE_PAT }}
MERGE_LABELS: "automerge,!work in progress,!ready for review"
MERGE_REMOVE_LABELS: "automerge"
LOG: DEBUG

0 comments on commit 8dba733

Please sign in to comment.