forked from mehdihadeli/Go-MediatR
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmulti-labeler.yml
88 lines (74 loc) · 2.3 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
# https://github.com/fuxingloh/multi-labeler
# https://stackoverflow.com/questions/58899999/regexp-to-match-conventional-commit-syntax
version: v1
labels:
- label: "feature"
matcher:
title: '/^(feat)(\([a-z ]+\))?: .+/'
commits: '/^(feat)(\([a-z ]+\))?: .+/'
branch: '/^(feat)(\([a-z ]+\))?\/.+/'
- label: "bug"
matcher:
title: '/^(fix)(\([a-z ]+\))?: .+/'
commits: '/^(fix)(\([a-z ]+\))?: .+/'
branch: '/^(fix)(\([a-z ]+\))?\/.+/'
- label: "chore"
matcher:
title: '/^(chore)(\([a-z ]+\))?: .+/'
commits: '/^(chore)(\([a-z ]+\))?: .+/'
branch: '/^(chore)(\([a-z ]+\))?\/.+/'
- label: "documentation"
matcher:
title: '/^(docs)(\([a-z ]+\))?: .+/'
commits: '/^(docs)(\([a-z ]+\))?: .+/'
branch: '/^(docs)(\([a-z ]+\))?\/.+/'
- label: "devops"
matcher:
title: '/^(ci)(\([a-z ]+\))?: .+/'
commits: '/^(ci)(\([a-z ]+\))?: .+/'
branch: '/^(ci)(\([a-z ]+\))?\/.+/'
- label: "ci-cd"
matcher:
title: '/^(ci)(\([a-z ]+\))?: .+/'
commits: '/^(ci)(\([a-z ]+\))?: .+/'
branch: '/^(ci)(\([a-z ]+\))?\/.+/'
- label: "enhancement"
matcher:
title: '/^(refactor)(\([a-z ]+\))?: .+/'
commits: '/^(refactor)(\([a-z ]+\))?: .+/'
branch: '/^(refactor)(\([a-z ]+\))?\/.+/'
- label: "style"
matcher:
title: '/^(style)(\([a-z ]+\))?: .+/'
commits: '/^(style)(\([a-z ]+\))?: .+/'
branch: '/^(style)(\([a-z ]+\))?\/.+/'
- label: "performance"
matcher:
title: '/^(perf)(\([a-z ]+\))?: .+/'
commits: '/^(perf)(\([a-z ]+\))?: .+/'
branch: '/^(perf)(\([a-z ]+\))?\/.+/'
- label: "build"
matcher:
title: '/^(build)(\([a-z ]+\))?: .+/'
commits: '/^(build)(\([a-z ]+\))?: .+/'
branch: '/^(build)(\([a-z ]+\))?\/.+/'
- label: "test"
matcher:
title: '/^(test)(\([a-z ]+\))?: .+/'
commits: '/^(test)(\([a-z ]+\))?: .+/'
branch: '/^(test)(\([a-z ]+\))?\/.+/'
- label: "dependencies"
matcher:
title: '/^(build)(\([a-z ]+\))?: .+/'
commits: '/^(build)(\([a-z ]+\))?: .+/'
branch: '/^(build)(\([a-z ]+\))?\/.+/'
- label: "minor"
matcher:
title: '/^(feat)(\([a-z ]+\))?: .+/'
commits: '/^(feat)(\([a-z ]+\))?: .+/'
branch: '/^(feat)(\([a-z ]+\))?\/.+/'
- label: "patch"
matcher:
title: '/^(fix)(\([a-z ]+\))?: .+/'
commits: '/^(fix)(\([a-z ]+\))?: .+/'
branch: '/^(fix)(\([a-z ]+\))?\/.+/'