-
Notifications
You must be signed in to change notification settings - Fork 561
/
.mergify.yml
90 lines (84 loc) · 2.02 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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
defaults:
actions:
queue:
name: default
queue_rules:
- name: default
queue_conditions:
- "base=master"
- "label!=process:manual-merge"
- "#changes-requested-reviews-by=0"
- "status-success=Jenkins - Unit tests GPU"
- "status-success=Jenkins - TensorRT Unit tests GPU"
- or:
- "label!=ci:docker"
- "status-success=Jenkins - Docker build"
- or:
- "label=process:no-need-review"
- and:
- "#approved-reviews-by>=2"
- "label=process:ready-to-review"
merge_conditions:
# - "status-success=Semantic Pull Request"
- "status-success=Jenkins - Unit tests GPU"
- "status-success=Jenkins - TensorRT Unit tests GPU"
- or:
- "label!=ci:docker"
- "status-success=Jenkins - Docker build"
merge_method: rebase
pull_request_rules:
- name: "request review"
conditions:
- "label=process:ready-to-review"
- "#approved-reviews-by=0"
- "#changes-requested-reviews-by=0"
- -merged
- -closed
actions:
request_reviews:
users:
- Bycob
- beniz
- fantes
- royale
- name: "warn on conflicts"
conditions:
- conflict
actions:
comment:
message: "This pull request is now in conflict :("
label:
add:
- conflict
- name: remove conflict label if not needed
conditions:
- -conflict
actions:
label:
remove:
- conflict
- name: add ci:docker label
conditions:
- files~=^docker/
actions:
label:
add:
- ci:docker
- name: add merge-queued label
conditions:
- queue-position>=0
actions:
label:
add:
- process:merge-queued
- name: remove merge-queued label
conditions:
- queue-position<0
actions:
label:
remove:
- process:merge-queued
- name: refactored queue action rule
conditions: []
actions:
queue: