-
Notifications
You must be signed in to change notification settings - Fork 903
/
.mergify.yml
87 lines (86 loc) · 2.17 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
queue_rules:
- name: default
conditions:
- status-success=build
pull_request_rules:
- name: Automatically merge on CI success and review
conditions:
- base=master
- status-success=build
- "label=ready to merge"
- "approved-reviews-by=@oss-approvers"
actions:
queue:
method: squash
name: default
label:
add: ["auto merged"]
- name: Automatically merge release branch changes on CI success and release manager review
conditions:
- base~=^release-
- status-success=build
- "label=ready to merge"
- "approved-reviews-by=@release-managers"
actions:
queue:
method: squash
name: default
label:
add: ["auto merged"]
- name: Automatically self merge on CI success
conditions:
- base=master
- status-success=build
- "label=ready to merge"
- "label=self merge"
actions:
queue:
method: squash
name: default
label:
add: ["auto merged"]
- name: Automatically rebase and merge on CI success and review
conditions:
- base=master
- status-success=build
- "label=ready to rebase"
- "approved-reviews-by=@oss-approvers"
actions:
queue:
method: rebase
name: default
label:
add: ["auto merged"]
- name: Automatically rebase and self merge on CI success
conditions:
- "label=ready to rebase"
- "label=self merge"
- base=master
- status-success=build
actions:
queue:
method: rebase
name: default
label:
add: ["auto merged"]
- name: Automatically merge autobump PRs on CI success
conditions:
- base~=^(master|release-)
- status-success=build
- "label~=autobump-*"
- "author:spinnakerbot"
actions:
queue:
method: squash
name: default
label:
add: ["auto merged"]
- name: Request reviews for autobump PRs on CI failure
conditions:
- base~=^(master|release-)
- status-failure=build
- "label~=autobump-*"
- base=master
actions:
request_reviews:
teams: ["oss-approvers"]