generated from DanySK/template-for-gradle-plugins
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.mergify.yml
48 lines (48 loc) · 1.24 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
pull_request_rules:
- name: Auto-rebase if appropriately labeled or if the author is an authorized bot
conditions:
- or:
- label=auto-update-rebase
- and:
- label=dependencies
- or: &authors_are_bots
- author=renovate[bot]
- author=dependabot[bot]
- -draft
- -conflict
actions:
rebase:
- name: Auto-update with merge if appropriately labeled
conditions:
- label=auto-update-merge
- -draft
- -conflict
actions:
update:
- name: rebase-merge working updates
conditions:
- and:
- or: *authors_are_bots
- and:
- or:
- check-success=ci-cd / success
- check-neutral=ci-cd / success
- check-skipped=ci-cd / success
- "#review-threads-unresolved=0"
- "#commits-behind=0"
- label=dependencies
- -draft
- -conflict
actions:
merge:
method: rebase
- 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: