Skip to content

Commit c7a221a

Browse files
ci: Add version labels for backport actions in Mergify configuration (#1147)
Signed-off-by: Lin Yang <[email protected]>
1 parent 4b6de86 commit c7a221a

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

.mergify.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,8 @@ pull_request_rules:
5252
title: "[backport] {{ title }} (#{{ number }})"
5353
assignees:
5454
- "{{ author }}"
55+
labels:
56+
- v1.6.x
5557
- name: Backport features/patches to the release/v1.5 branch
5658
conditions:
5759
- base=main
@@ -63,6 +65,8 @@ pull_request_rules:
6365
title: "[backport] {{ title }} (#{{ number }})"
6466
assignees:
6567
- "{{ author }}"
68+
labels:
69+
- v1.5.x
6670
- name: Backport features/patches to the release/v1.4 branch
6771
conditions:
6872
- base=main
@@ -74,6 +78,8 @@ pull_request_rules:
7478
title: "[backport] {{ title }} (#{{ number }})"
7579
assignees:
7680
- "{{ author }}"
81+
labels:
82+
- v1.4.x
7783
- name: Backport features/patches to the release/v1.3 branch
7884
conditions:
7985
- base=main
@@ -85,6 +91,8 @@ pull_request_rules:
8591
title: "[backport] {{ title }} (#{{ number }})"
8692
assignees:
8793
- "{{ author }}"
94+
labels:
95+
- v1.3.x
8896
- name: Backport features/patches to the release/v1.2 branch
8997
conditions:
9098
- base=main
@@ -96,6 +104,8 @@ pull_request_rules:
96104
title: "[backport] {{ title }} (#{{ number }})"
97105
assignees:
98106
- "{{ author }}"
107+
labels:
108+
- v1.2.x
99109
- name: Cherry-pick patches from release/v* to the main branch
100110
conditions:
101111
- base~=^release\/v

0 commit comments

Comments
 (0)