@@ -131,6 +131,9 @@ pull_request_rules:
131
131
To fixup this pull request, you need to add the backport labels for the needed
132
132
branches, such as:
133
133
* `backport-v./d./d./d` is the label to automatically backport to the `8./d` branch. `/d` is the digit
134
+ * `backport-active-all` is the label that automatically backports to all active branches.
135
+ * `backport-active-8` is the label that automatically backports to all active minor branches for the 8 major.
136
+ * `backport-active-9` is the label that automatically backports to all active minor branches for the 9 major.
134
137
**NOTE**: `backport-v8.x` has been added to help with the transition to the new branch 8.x.
135
138
label :
136
139
add :
@@ -378,3 +381,56 @@ pull_request_rules:
378
381
labels :
379
382
- " backport"
380
383
title : " [{{ destination_branch }}](backport #{{ number }}) {{ title }}"
384
+
385
+ - name : backport patches to all active minor branches for the 8 major.
386
+ conditions :
387
+ - merged
388
+ - label=backport-active-8
389
+ actions :
390
+ backport :
391
+ assignees :
392
+ - " {{ author }}"
393
+ # NOTE: this list needs to be changed when a new minor branch is created
394
+ # or an existing minor branch reached EOL.
395
+ branches :
396
+ - " 8.18"
397
+ - " 8.17"
398
+ - " 8.16"
399
+ labels :
400
+ - " backport"
401
+ title : " [{{ destination_branch }}](backport #{{ number }}) {{ title }}"
402
+ - name : backport patches to all active minor branches for the 9 major.
403
+ conditions :
404
+ - merged
405
+ - label=backport-active-9
406
+ actions :
407
+ backport :
408
+ assignees :
409
+ - " {{ author }}"
410
+ # NOTE: this list needs to be changed when a new minor branch is created
411
+ # or an existing minor branch reached EOL.
412
+ branches :
413
+ - " 9.0"
414
+ labels :
415
+ - " backport"
416
+ title : " [{{ destination_branch }}](backport #{{ number }}) {{ title }}"
417
+ - name : backport patches to all active branches
418
+ conditions :
419
+ - merged
420
+ - label=backport-active-all
421
+ actions :
422
+ backport :
423
+ assignees :
424
+ - " {{ author }}"
425
+ # NOTE: this list needs to be changed when a new minor branch is created
426
+ # or an existing release branch reached EOL.
427
+ branches :
428
+ - " 9.0"
429
+ - " 8.18"
430
+ - " 8.17"
431
+ - " 8.16"
432
+ - " 8.x"
433
+ - " 7.17"
434
+ labels :
435
+ - " backport"
436
+ title : " [{{ destination_branch }}](backport #{{ number }}) {{ title }}"
0 commit comments