.github/workflows/auto-merge.yml in fishplate-7.1.3.0 vs .github/workflows/auto-merge.yml in fishplate-8.0.0
- old
+ new
@@ -1,22 +1,31 @@
name: automerge
on:
+ pull_request_target:
+ types:
+ - labeled
pull_request_review:
types:
- submitted
check_suite:
types:
- completed
- label:
- types:
- - created
status: {}
jobs:
automerge:
runs-on: ubuntu-latest
steps:
- name: automerge
- uses: pascalgn/automerge-action@v0.16.2
+ uses: pascalgn/automerge-action@v0.16.4
env:
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
MERGE_METHOD: squash
MERGE_DELETE_BRANCH: true
+ MERGE_LABELS: "automerge,!automerge blocked"
+ - name: automerge-dependencies
+ uses: pascalgn/automerge-action@v0.16.4
+ env:
+ GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
+ MERGE_METHOD: squash
+ MERGE_DELETE_BRANCH: true
+ MERGE_LABELS: "dependencies,!automerge blocked"
+ MERGE_REMOVE_LABELS: ""