Skip to content

Commit 3c6e809

Browse files
bmorelli25joepeeplesjmikell821
authored
Add the ability to backport to main (#5992)
* Update .mergify.yml * Update .mergify.yml Co-authored-by: Joe Peeples <[email protected]> --------- Co-authored-by: Joe Peeples <[email protected]> Co-authored-by: Janeen Mikell Roberts <[email protected]>
1 parent 2390859 commit 3c6e809

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

.mergify.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,19 @@ pull_request_rules:
1313
git merge upstream/{{base}}
1414
git push upstream {{head}}
1515
```
16+
- name: backport patches to main branch
17+
conditions:
18+
- merged
19+
- label=backport-main
20+
actions:
21+
backport:
22+
assignees:
23+
- "{{ author }}"
24+
labels:
25+
- "backport"
26+
branches:
27+
- "main"
28+
title: "[{{ destination_branch }}] {{ title }} (backport #{{ number }})"
1629
- name: backport patches to 8.17 branch
1730
conditions:
1831
- merged

0 commit comments

Comments
 (0)