forked from ceph/ceph-ansible
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.mergify.yml
106 lines (106 loc) · 2.51 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
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
pull_request_rules:
- name: automatic merge
conditions:
- label!=DNM
- '#approved-reviews-by>=1'
- 'status-success=Testing: ceph-ansible PR Pipeline'
actions:
merge:
method: rebase
rebase_fallback: merge
strict: smart
dismiss_reviews: {}
delete_head_branch: {}
- name: automatic merge on skip ci
conditions:
- label!=DNM
- title~=\[skip ci\]
- '#approved-reviews-by>=2'
actions:
merge:
method: rebase
rebase_fallback: merge
strict: smart
dismiss_reviews: {}
delete_head_branch: {}
- name: automerge backport 3.0
conditions:
- author=mergify[bot]
- base=stable-3.0
- label!=DNM
- 'status-success=Testing: ceph-ansible PR Pipeline'
actions:
merge:
method: rebase
rebase_fallback: merge
strict: smart
dismiss_reviews: {}
delete_head_branch: {}
- name: automerge backport 3.1
conditions:
- author=mergify[bot]
- base=stable-3.1
- label!=DNM
- 'status-success=Testing: ceph-ansible PR Pipeline'
actions:
merge:
method: rebase
rebase_fallback: merge
strict: smart
dismiss_reviews: {}
delete_head_branch: {}
- name: automerge backport 3.2
conditions:
- author=mergify[bot]
- base=stable-3.2
- label!=DNM
- 'status-success=Testing: ceph-ansible PR Pipeline'
actions:
merge:
method: rebase
rebase_fallback: merge
strict: smart
dismiss_reviews: {}
delete_head_branch: {}
- name: automerge backport 4.0
conditions:
- author=mergify[bot]
- base=stable-4.0
- label!=DNM
- 'status-success=Testing: ceph-ansible PR Pipeline'
actions:
merge:
method: rebase
rebase_fallback: merge
strict: smart
dismiss_reviews: {}
delete_head_branch: {}
# Backports
- actions:
backport:
branches:
- stable-3.0
conditions:
- label=backport-stable-3.0
name: backport stable-3.0
- actions:
backport:
branches:
- stable-3.1
conditions:
- label=backport-stable-3.1
name: backport stable-3.1
- actions:
backport:
branches:
- stable-3.2
conditions:
- label=backport-stable-3.2
name: backport stable-3.2
- actions:
backport:
branches:
- stable-4.0
conditions:
- label=backport-stable-4.0
name: backport stable-4.0