forked from rundeck/rundeck
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path.mergify.yml
93 lines (93 loc) · 2 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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
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 3.3 maint branch
conditions:
- base=main
- label=backport-to-3.3
actions:
backport:
branches:
- maint-3.3.x
- name: backport patches to 3.4 maint branch
conditions:
- base=main
- label=backport-to-3.4
actions:
backport:
branches:
- maint-3.4.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 4.x
conditions:
- base=main
- -closed
actions:
label:
add: [4.x]
- name: label PRs to 3.4 maint branch
conditions:
- base=maint-3.4.x
- -closed
actions:
label:
add: [ 3.4.x ]
- name: label PRs to 3.3 maint branch
conditions:
- base=maint-3.3.x
- -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]