-
Notifications
You must be signed in to change notification settings - Fork 14
/
.mergify.yml
50 lines (49 loc) · 1.31 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: master
merge_conditions:
- or:
- and:
- "#approved-reviews-by>=1"
- "#changes-requested-reviews-by=0"
- and: &automatic-update
- or:
- author=renovate[bot]
- author=dependabot[bot]
- "#review-threads-unresolved=0"
- label=dependencies
- "#commits-behind=0"
- -draft
- -conflict
merge_method: rebase
pull_request_rules:
- name: Auto-update with merge if appropriately labeled
conditions:
- label=auto-update-merge
- -draft
- -conflict
actions:
update:
- name: rebase-merge
conditions:
- or:
- and:
- "#approved-reviews-by>=1"
- "#changes-requested-reviews-by=0"
- "#review-threads-unresolved=0"
- label=in-merge-queue
- and: *automatic-update
- -draft
- -conflict
actions:
queue:
name: master
- name: ask to resolve conflict
conditions:
- conflict
actions:
comment:
message: |
Hi @{{author}}! :wave:
This pull request has conflicts :confounded:
Could you fix it? :wrench:
Thank you! :pray: