File tree Expand file tree Collapse file tree 2 files changed +37
-7
lines changed Expand file tree Collapse file tree 2 files changed +37
-7
lines changed Original file line number Diff line number Diff line change @@ -11,6 +11,10 @@ version: v1
11
11
#
12
12
13
13
labels :
14
+ #
15
+ # conventional commit / semantic PR styles
16
+ #
17
+
14
18
- label : ' feat'
15
19
matcher :
16
20
title : ' ^feat(\(|:)'
@@ -20,26 +24,48 @@ labels:
20
24
- label : ' chore'
21
25
matcher :
22
26
title : ' ^chore(\(|:)'
23
- # "change",
24
27
- label : ' docs'
25
28
matcher :
26
29
title : ' ^docs(\(|:)'
27
- # "style",
28
30
- label : ' refactor'
29
31
matcher :
30
32
title : ' ^refactor(\(|:)'
31
- # "test",
32
33
- label : ' auto'
33
34
matcher :
34
35
title : ' ^auto(\(|:)'
35
36
36
- # Below are the scopes that we look for in the PR title
37
+ #
38
+ # additional meta flags
39
+ #
40
+
41
+ # stable-targeted patches; note, this does not pick up chained PRs automatically
42
+ - label : ' stable'
43
+ matcher :
44
+ baseBranch : ' ^stable-.+'
45
+
46
+ # PRs marked as cherry-picks by title
47
+ - label : ' cherry-pick'
48
+ matcher :
49
+ title : ' (🍒|:cherries:)'
50
+
51
+ # long-lived feature branches
52
+ - label : ' feature-branch'
53
+ matcher :
54
+ branch : ' ^feature-.+'
55
+
56
+ #
57
+ # Scopes that we look for in the PR title
58
+ #
59
+
37
60
- label : ' android/'
38
61
matcher :
39
62
title : ' \(.*android.*\):'
40
63
- label : ' common/'
41
64
matcher :
42
65
title : ' \(.*common.*\):'
66
+ - label : ' core/'
67
+ matcher :
68
+ title : ' \(.*core.*\):'
43
69
- label : ' developer/'
44
70
matcher :
45
71
title : ' \(.*developer.*\):'
@@ -62,6 +88,10 @@ labels:
62
88
matcher :
63
89
title : ' \(.*windows.*\):'
64
90
65
- - label : ' cherry-pick'
91
+ #
92
+ # epics -- we will add/remove these as we work on new epics each release
93
+ #
94
+
95
+ - label : ' epic-ldml'
66
96
matcher :
67
- title : ' (🍒|:cherries:) '
97
+ branch : ' .*epic-ldml.* ' # anywhere in the branch name, e.g. feat/epic-ldml/developer/... or feat/developer/foo-epic-ldml
Original file line number Diff line number Diff line change 12
12
repo-token : " ${{ secrets.GITHUB_TOKEN }}"
13
13
- name : Update labels based on PR title
14
14
id : labeler
15
- uses : fuxingloh/multi-labeler@8afa186ed03230c98fe24ebf9fe35093072ad46e # v1.4 .0
15
+ uses : fuxingloh/multi-labeler@fb9bc28b2d65e406ffd208384c5095793c3fd59a # v1.8 .0
16
16
with :
17
17
github-token : ${{secrets.GITHUB_TOKEN}}
18
18
config-path : .github/multi-labeler.yml
You can’t perform that action at this time.
0 commit comments