Skip to content

Commit 2099046

Browse files
authored
mergify: simplify and honour the defaults (#5168)
1 parent 34fa360 commit 2099046

File tree

1 file changed

+1
-82
lines changed

1 file changed

+1
-82
lines changed

.mergify.yml

Lines changed: 1 addition & 82 deletions
Original file line numberDiff line numberDiff line change
@@ -24,19 +24,13 @@ pull_request_rules:
2424
- label=forwardport-main
2525
actions:
2626
backport:
27-
assignees:
28-
- "{{ author }}"
2927
branches:
3028
- "main"
31-
labels:
32-
- "backport"
33-
title: "[{{ destination_branch }}](backport #{{ number }}) {{ title }}"
3429
- name: ask to resolve conflict
3530
conditions:
3631
- -merged
3732
- -closed
3833
- conflict
39-
- -author=apmmachine
4034
actions:
4135
comment:
4236
message: |
@@ -53,7 +47,7 @@ pull_request_rules:
5347
- -merged
5448
- -closed
5549
- conflict
56-
- author=apmmachine
50+
- author=github-actions[bot]
5751
- label=automation
5852
actions:
5953
close:
@@ -67,13 +61,8 @@ pull_request_rules:
6761
- label~=^(backport-v7.17.0|backport-7.17)$
6862
actions:
6963
backport:
70-
assignees:
71-
- "{{ author }}"
7264
branches:
7365
- "7.17"
74-
labels:
75-
- "backport"
76-
title: "[{{ destination_branch }}](backport #{{ number }}) {{ title }}"
7766
- name: notify the backport has not been merged yet
7867
conditions:
7968
- -merged
@@ -127,143 +116,88 @@ pull_request_rules:
127116
- label=backport-v8.6.0
128117
actions:
129118
backport:
130-
assignees:
131-
- "{{ author }}"
132119
branches:
133120
- "8.6"
134-
labels:
135-
- "backport"
136-
title: "[{{ destination_branch }}](backport #{{ number }}) {{ title }}"
137121
- name: backport patches to 8.7 branch
138122
conditions:
139123
- merged
140124
- label=backport-v8.7.0
141125
actions:
142126
backport:
143-
assignees:
144-
- "{{ author }}"
145127
branches:
146128
- "8.7"
147-
labels:
148-
- "backport"
149-
title: "[{{ destination_branch }}](backport #{{ number }}) {{ title }}"
150129
- name: backport patches to 8.8 branch
151130
conditions:
152131
- merged
153132
- label=backport-v8.8.0
154133
actions:
155134
backport:
156-
assignees:
157-
- "{{ author }}"
158135
branches:
159136
- "8.8"
160-
labels:
161-
- "backport"
162-
title: "[{{ destination_branch }}](backport #{{ number }}) {{ title }}"
163137
- name: backport patches to 8.9 branch
164138
conditions:
165139
- merged
166140
- label=backport-v8.9.0
167141
actions:
168142
backport:
169-
assignees:
170-
- "{{ author }}"
171143
branches:
172144
- "8.9"
173-
labels:
174-
- "backport"
175-
title: "[{{ destination_branch }}](backport #{{ number }}) {{ title }}"
176145
- name: backport patches to 8.10 branch
177146
conditions:
178147
- merged
179148
- label=backport-v8.10.0
180149
actions:
181150
backport:
182-
assignees:
183-
- "{{ author }}"
184151
branches:
185152
- "8.10"
186-
labels:
187-
- "backport"
188-
title: "[{{ destination_branch }}](backport #{{ number }}) {{ title }}"
189153
- name: backport patches to 8.11 branch
190154
conditions:
191155
- merged
192156
- label=backport-v8.11.0
193157
actions:
194158
backport:
195-
assignees:
196-
- "{{ author }}"
197159
branches:
198160
- "8.11"
199-
labels:
200-
- "backport"
201-
title: "[{{ destination_branch }}](backport #{{ number }}) {{ title }}"
202161
- name: backport patches to 8.12 branch
203162
conditions:
204163
- merged
205164
- label=backport-v8.12.0
206165
actions:
207166
backport:
208-
assignees:
209-
- "{{ author }}"
210167
branches:
211168
- "8.12"
212-
labels:
213-
- "backport"
214-
title: "[{{ destination_branch }}](backport #{{ number }}) {{ title }}"
215169
- name: backport patches to 8.13 branch
216170
conditions:
217171
- merged
218172
- label=backport-v8.13.0
219173
actions:
220174
backport:
221-
assignees:
222-
- "{{ author }}"
223175
branches:
224176
- "8.13"
225-
labels:
226-
- "backport"
227-
title: "[{{ destination_branch }}](backport #{{ number }}) {{ title }}"
228177
- name: backport patches to 8.14 branch
229178
conditions:
230179
- merged
231180
- label=backport-v8.14.0
232181
actions:
233182
backport:
234-
assignees:
235-
- "{{ author }}"
236183
branches:
237184
- "8.14"
238-
labels:
239-
- "backport"
240-
title: "[{{ destination_branch }}](backport #{{ number }}) {{ title }}"
241185
- name: backport patches to 8.15 branch
242186
conditions:
243187
- merged
244188
- label~=^(backport-v8.15.0|backport-8.15)$
245189
actions:
246190
backport:
247-
assignees:
248-
- "{{ author }}"
249191
branches:
250192
- "8.15"
251-
labels:
252-
- "backport"
253-
title: "[{{ destination_branch }}](backport #{{ number }}) {{ title }}"
254193
- name: backport patches to 8.16 branch
255194
conditions:
256195
- merged
257196
- label~=^(backport-v8.16.0|backport-8.16)$
258197
actions:
259198
backport:
260-
assignees:
261-
- "{{ author }}"
262199
branches:
263200
- "8.16"
264-
labels:
265-
- "backport"
266-
title: "[{{ destination_branch }}](backport #{{ number }}) {{ title }}"
267201
- name: notify the backport policy
268202
conditions:
269203
- -label~=^backport
@@ -286,26 +220,16 @@ pull_request_rules:
286220
- label=backport-8.17
287221
actions:
288222
backport:
289-
assignees:
290-
- "{{ author }}"
291223
branches:
292224
- "8.17"
293-
labels:
294-
- "backport"
295-
title: "[{{ destination_branch }}](backport #{{ number }}) {{ title }}"
296225
- name: backport patches to 8.18 branch
297226
conditions:
298227
- merged
299228
- label=backport-8.18
300229
actions:
301230
backport:
302-
assignees:
303-
- "{{ author }}"
304231
branches:
305232
- "8.18"
306-
labels:
307-
- "backport"
308-
title: "[{{ destination_branch }}](backport #{{ number }}) {{ title }}"
309233
- name: backport patches to 8.19 branch
310234
conditions:
311235
- merged
@@ -320,13 +244,8 @@ pull_request_rules:
320244
- label=backport-9.0
321245
actions:
322246
backport:
323-
assignees:
324-
- "{{ author }}"
325247
branches:
326248
- "9.0"
327-
labels:
328-
- "backport"
329-
title: "[{{ destination_branch }}](backport #{{ number }}) {{ title }}"
330249
- name: backport patches to 9.1 branch
331250
conditions:
332251
- merged

0 commit comments

Comments
 (0)