forked from fossabot/MiniValine
-
Notifications
You must be signed in to change notification settings - Fork 20
/
Copy path.mergify.yml
52 lines (52 loc) · 1.35 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: delete head branch after merge
conditions:
- merged
actions:
delete_head_branch: {}
- name: remove outdated reviews
conditions:
- base=master
actions:
dismiss_reviews: {}
- name: Automatic merge
conditions:
- label!=has conflicts
- label!=🚧 Work in Progress
- "#approved-reviews-by>=1"
- status-success=build (12.x)
- status-success=Mergeable
- status-success=license/cla
actions:
merge:
method: merge
label:
add: ["Auto merge"]
- name: automatic merge for Dependabot pull requests
conditions:
- author~=^dependabot(|-preview)\[bot\]$
- status-success=build (12.x)
actions:
label:
add: ["Build","🛠 Improvement"]
- name: automatic merge for Renovate pull requests
conditions:
- author=renovate[bot]
- status-success=build (12.x)
actions:
label:
add: ["Build","🛠 Improvement"]
- name: automatic merge for ImgBot pull requests
conditions:
- author=imgbot[bot]
- status-success=build (12.x)
actions:
label:
add: ["img","🛠 Improvement"]
- name: automatic merge for SnykBot pull requests
conditions:
- author=snyk-bot
- status-success=build (12.x)
actions:
label:
add: ["🛠 Improvement"]