forked from DanySK/mergify-config
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.mergify.yml
52 lines (48 loc) · 1.2 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: Auto-update with merge if appropriately labeled
conditions:
- label=auto-update-merge
- -draft
- -conflict
actions:
update:
bot_account: danysk
- name: rebase-merge working updates
conditions:
- and:
- or: &authors_are_bots
- author=renovate[bot]
- author=dependabot[bot]
- and:
- or:
- check-success~=.*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:
- 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
- -draft
- -conflict
actions:
rebase:
bot_account: danysk