forked from Mailu/Mailu
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.mergify.yml
53 lines (45 loc) · 1.44 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
pull_request_rules:
- name: Build testing images; trigger bors try
conditions:
- -title~=(WIP|wip)
- -label~=^(status/wip|status/blocked)$
- -closed
- -merged
actions:
comment:
message: |
Thanks for submitting this pull request.
Bors-ng will now build test images. When it succeeds, we will continue to review and test your PR.
bors try
Note: if this build fails, [read this](http://mailu.io/master/contributors/environment.html#when-bors-try-fails).
- name: 2 approved reviews; trigger bors r+
conditions:
- -title~=(WIP|wip)
- -label~=^(status/wip|status/blocked)$
- "#approved-reviews-by>=2"
actions:
comment:
message: bors r+
- name: Trusted author and 1 approved review; trigger bors r+
conditions:
- author~=^(mergify|kaiyou|muhlemmer|mildred|HorayNarea|hoellen|ofthesun9|Nebukadneza|micw|lub|Diman0|ghostwheel42|nextgens)$
- -title~=(WIP|wip)
- -label~=^(status/wip|status/blocked|review/need2)$
- "#approved-reviews-by>=1"
actions:
comment:
message: bors r+
- name: Backport to 1.9 branch
conditions:
- base=master
- label=type/backport
actions:
backport:
branches:
- '1.9'
- name: remove outdated reviews
conditions:
- base~=^(master|1.9)$
actions:
dismiss_reviews:
approved: True