Skip to content

Commit cff5346

Browse files
authored
Update mergify and backport tool for 8.10 (#2523)
1 parent b59aa76 commit cff5346

File tree

2 files changed

+15
-1
lines changed

2 files changed

+15
-1
lines changed

.backportrc.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
22
"upstream": "elastic/stack-docs",
3-
"branches": [{ "name": "8.9", "checked": true }, "8.8", "8.7", "8.6", "8.5", "8.4", "8.3", "8.2", "8.1", "8.0", "7.17", "7.16", "7.15", "7.14", "7.13", "7.12", "7.11", "7.10", "7.9", "7.8", "7.7", "7.6", "7.5", "7.4", "7.3", "7.2", "7.1", "7.0", "6.8", "6.7", "6.6", "6.5", "6.4", "6.3", "6.2", "6.1", "6.0", "5.6"],
3+
"branches": [{ "name": "8.10", "checked": true }, "8.9", "8.8", "8.7", "8.6", "8.5", "8.4", "8.3", "8.2", "8.1", "8.0", "7.17", "7.16", "7.15", "7.14", "7.13", "7.12", "7.11", "7.10", "7.9", "7.8", "7.7", "7.6", "7.5", "7.4", "7.3", "7.2", "7.1", "7.0", "6.8", "6.7", "6.6", "6.5", "6.4", "6.3", "6.2", "6.1", "6.0", "5.6"],
44
"labels": ["backport"]
55
}

.mergify.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,20 @@ pull_request_rules:
1515
git merge <remote-repo>/{{base}}
1616
git push <remote-repo> {{head}}
1717
```
18+
- name: backport patches to 8.10 branch
19+
conditions:
20+
- merged
21+
- base=main
22+
- label=backport-8.10
23+
actions:
24+
backport:
25+
assignees:
26+
- "{{ author }}"
27+
branches:
28+
- "8.9"
29+
title: "[{{ destination_branch }}] {{ title }} (backport #{{ number }})"
30+
labels:
31+
- backport
1832
- name: backport patches to 8.9 branch
1933
conditions:
2034
- merged

0 commit comments

Comments
 (0)