forked from rundeck/rundeck
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.mergify.yml
63 lines (63 loc) · 1.36 KB
/
.mergify.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
pull_request_rules:
# Backport to maint(version) branches
- name: backport patches to 3.0 maint branch
conditions:
- base=main
- label=backport-to-3.0
actions:
backport:
branches:
- maint-3.0.x
- name: backport patches to 3.1 maint branch
conditions:
- base=main
- label=backport-to-3.1
actions:
backport:
branches:
- maint-3.1.x
- name: backport patches to 3.2 maint branch
conditions:
- base=main
- label=backport-to-3.2
actions:
backport:
branches:
- maint-3.2.x
- name: backport patches to main
conditions:
- label=backport-to-main
actions:
backport:
branches:
- main
- name: backport patches to 2.11 maint branch
conditions:
- base=main
- label=backport-to-2.11
actions:
backport:
branches:
- release-2.11
# Add version labels to open PRs
- name: label PRs main with 3.3.x
conditions:
- base=main
- -closed
actions:
label:
add: [3.3.x]
- name: label PRs to 3.2 maint branch
conditions:
- base=maint-3.2.x
- -closed
actions:
label:
add: [3.2.x]
- name: label PRs to 3.1 maint branch
conditions:
- base=maint-3.1.x
- -closed
actions:
label:
add: [3.1.x]