Skip to content

Commit 98c3e47

Browse files
committed
Added mergify configuration
1 parent ad612dc commit 98c3e47

File tree

1 file changed

+44
-0
lines changed

1 file changed

+44
-0
lines changed

.github/mergify.yml

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
pull_request_rules:
2+
- name: backport to iron at reviewers' discretion
3+
conditions:
4+
- base=main
5+
- "label=backport-iron"
6+
actions:
7+
backport:
8+
branches:
9+
- iron
10+
11+
- name: backport to humble at reviewers' discretion
12+
conditions:
13+
- base=main
14+
- "label=backport-humble"
15+
actions:
16+
backport:
17+
branches:
18+
- humble
19+
20+
- name: backport to jazzy at reviewers' discretion
21+
conditions:
22+
- base=main
23+
- "label=backport-jazzy"
24+
actions:
25+
backport:
26+
branches:
27+
- jazzy
28+
29+
- name: ask to resolve conflict
30+
conditions:
31+
- conflict
32+
- author!=mergify[bot]
33+
actions:
34+
comment:
35+
message: This pull request is in conflict. Could you fix it @{{author}}?
36+
37+
- name: development targets main branch
38+
conditions:
39+
- base!=main
40+
- author!=mergify[bot]
41+
actions:
42+
comment:
43+
message: |
44+
Please target the `main` branch for development, we will backport the changes to {{base}} for you if approved and if they don't break API.

0 commit comments

Comments
 (0)