-
-
Notifications
You must be signed in to change notification settings - Fork 115
/
Copy pathmulti-labeler.yml
98 lines (88 loc) · 2.06 KB
/
multi-labeler.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
94
95
96
97
98
version: v1
# This file adds labels based on the scopes in resources/scopes/scopes.json and
# resources/scopes/commit-types.json
# Currently it must be manually kept up to date. Not all labels are added, only
# common ones. The others are commented out. There is still some variance between
# folder names and labels; consider this documentation of that ;-)
#
# Add labels based on the PR title using fuxingloh/multi-labeler
#
labels:
#
# conventional commit / semantic PR styles
#
- label: 'auto'
matcher:
title: '^auto(\(|:)'
- label: 'change'
matcher:
title: '^change(\(|:)'
- label: 'chore'
matcher:
title: '^chore(\(|:)'
- label: 'docs'
matcher:
title: '^docs(\(|:)'
- label: 'feat'
matcher:
title: '^feat(\(|:)'
- label: 'fix'
matcher:
title: '^fix(\(|:)'
- label: 'refactor'
matcher:
title: '^refactor(\(|:)'
- label: 'style'
matcher:
title: '^style(\(|:)'
- label: 'test'
matcher:
title: '^test(\(|:)'
#
# additional meta flags
#
# stable-targeted patches; note, this does not pick up chained PRs automatically
- label: 'stable'
matcher:
baseBranch: '^stable-.+'
# PRs marked as cherry-picks by title
- label: 'cherry-pick'
matcher:
title: '(🍒|:cherries:)'
# long-lived feature branches
- label: 'feature-branch'
matcher:
branch: '^feature-.+'
#
# Scopes that we look for in the PR title
#
- label: 'android/'
matcher:
title: '\(.*android.*\):'
- label: 'common/'
matcher:
title: '\(.*common.*\):'
- label: 'core/'
matcher:
title: '\(.*core.*\):'
- label: 'developer/'
matcher:
title: '\(.*developer.*\):'
- label: 'ios/'
matcher:
title: '\(.*ios.*\):'
- label: 'linux/'
matcher:
title: '\(.*linux.*\):'
- label: 'mac/'
matcher:
title: '\(.*mac.*\):'
- label: 'oem/'
matcher:
title: '\(.*oem.*\):'
- label: 'web/'
matcher:
title: '\(.*web.*\):'
- label: 'windows/'
matcher:
title: '\(.*windows.*\):'