Skip to content

Commit 9779475

Browse files
authored
build: adjust auto labeler configuration (#2115)
Signed-off-by: Adam Setch <[email protected]>
1 parent ab4fe51 commit 9779475

File tree

1 file changed

+18
-20
lines changed

1 file changed

+18
-20
lines changed

.github/labeler.yml

Lines changed: 18 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,53 +1,51 @@
11
version: v1
22

33
labels:
4-
- label: 'enhancement'
4+
- label: 'bug'
55
sync: true
66
matcher:
7-
title: '^feat(\(\w+\))?: .*'
7+
title: '^fix(\(\w+\))?: .*'
88

9-
- label: 'bug'
9+
- label: 'build'
1010
sync: true
1111
matcher:
12-
title: '^fix(\(\w+\))?: .*'
12+
title: '^(ci|build)(\((?!release)\w+\))?: (?!.*\brelease\b).*'
1313

14-
- label: 'refactor'
14+
- label: 'chore'
1515
sync: true
1616
matcher:
17-
title: '^refactor(\(\w+\))?: .*'
17+
title: '^chore(\((?!deps)\w+\))?: .*'
18+
19+
- label: 'dependency'
20+
sync: true
21+
matcher:
22+
branch: '^renovate/.*'
23+
files: ['pnpm-lock.yaml']
1824

1925
- label: 'documentation'
2026
sync: true
2127
matcher:
2228
title: '^docs(\(\w+\))?: .*'
2329

24-
- label: 'test'
30+
- label: 'enhancement'
2531
sync: true
2632
matcher:
27-
title: '^test(\(\w+\))?: .*'
33+
title: '^feat(\(\w+\))?: .*'
2834

29-
- label: 'build'
35+
- label: 'refactor'
3036
sync: true
3137
matcher:
32-
title: '^(ci|build)(\((?!release)\w+\))?: (?!.*\brelease\b).*'
38+
title: '^refactor(\(\w+\))?: .*'
3339

3440
- label: 'release'
3541
sync: true
3642
matcher:
3743
branch: '^release/.*'
3844

39-
- label: 'chore'
40-
sync: true
41-
matcher:
42-
title: '^chore(\(\w+\))?: .*'
43-
branch: '^(?!renovate/).*'
44-
45-
- label: 'dependency'
45+
- label: 'test'
4646
sync: true
4747
matcher:
48-
title: '^deps(\(\w+\))?: .*'
49-
branch: '^renovate/.*'
50-
files: ['pnpm-lock.yaml']
48+
title: '^test(\(\w+\))?: .*'
5149

5250
checks:
5351
- context: 'Semantic Pull Request'

0 commit comments

Comments
 (0)