-
Notifications
You must be signed in to change notification settings - Fork 28
/
.mergify.yml
50 lines (48 loc) · 1.3 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
queue_rules:
- name: default
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
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
actions:
queue:
name: default
method: rebase
- name: automatic merge for master when CI passes and trusted comitter
conditions:
- author=@PennyDreadfulMTG/automerge
- status-success=mypy
- status-success=lint
- status-success=test
- status-success=jslint
- base=master
actions:
queue:
name: default
method: merge