-
Notifications
You must be signed in to change notification settings - Fork 27
/
Copy path.mergify.yml
58 lines (57 loc) · 1.77 KB
/
.mergify.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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
queue_rules:
- name: duplicated default from automatic merge for master when CI passes and approved
queue_conditions:
- "#approved-reviews-by>=1"
- "#review-requested=0"
- "#changes-requested-reviews-by=0"
- "#commented-reviews-by=0"
- status-success=mypy
- status-success=lint
- status-success=test
- status-success=jslint
- base=master
merge_conditions:
# Conditions to get out of the queue (= merged)
- status-success=mypy
- status-success=lint
- status-success=test
- status-success=jslint
merge_method: rebase
- name: trusted
queue_conditions:
- author=@PennyDreadfulMTG/automerge
- base=master
merge_conditions:
# Conditions to get out of the queue (= merged)
- author=@PennyDreadfulMTG/automerge
- status-success=mypy
- status-success=lint
- status-success=test
- status-success=jslint
merge_method: merge
- name: default
merge_conditions:
# Conditions to get out of the queue (= merged)
- status-success=mypy
- status-success=lint
- status-success=test
- status-success=jslint
pull_request_rules:
- name: automatic merge dependency updates
conditions:
- status-success=mypy
- status-success=lint
- status-success=test
- status-success=jslint
- author~=(pyup-bot|dependabot)
- -files~=^(!?.github/workflows/)
actions:
merge:
method: rebase
delete_head_branch: {}
- name: automatic merge for master when CI passes and approved + automatic merge
for master when CI passes and trusted comitter
conditions:
- author=@PennyDreadfulMTG/automerge
actions:
queue: