-
Notifications
You must be signed in to change notification settings - Fork 0
41 lines (41 loc) · 1.21 KB
/
pr-automerge.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
name: PR automerge
on:
pull_request:
types:
- labeled
- unlabeled
- synchronize
- opened
- edited
- ready_for_review
- reopened
- unlocked
pull_request_review:
types:
- submitted
check_suite:
types:
- completed
status: {}
jobs:
prmerge:
runs-on: ubuntu-latest
steps:
- name: automerge
uses: "pascalgn/[email protected]"
env:
MERGE_LABELS: "!wip,!undertest,automerge,!squashme"
MERGE_METHOD: "merge"
UPDATE_LABELS: "automerge"
UPDATE_METHOD: "merge"
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
MERGE_DELETE_BRANCH: "true"
- name: autosquash
uses: "pascalgn/[email protected]"
env:
MERGE_LABELS: "!wip,!undertest,automerge,squashme"
MERGE_METHOD: "squash"
UPDATE_LABELS: "automerge"
UPDATE_METHOD: "merge"
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
MERGE_DELETE_BRANCH: "true"