Skip to content

Commit d688e8a

Browse files
committed
ci: upgrade auto labeler version (#223)
1 parent c35c02d commit d688e8a

File tree

3 files changed

+43
-30
lines changed

3 files changed

+43
-30
lines changed

.github/auto-labeler.yml

Lines changed: 0 additions & 27 deletions
This file was deleted.

.github/labeler.yml

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
version: v1
2+
3+
labels:
4+
- label: "enhancement"
5+
sync: true
6+
matcher:
7+
title: "^feat.*: ?.*"
8+
commit: "^feat.*: ?.*"
9+
- label: "bug"
10+
sync: true
11+
matcher:
12+
title: "^fix.*: ?.*"
13+
commit: "^fix.*: ?.*"
14+
- label: "documentation"
15+
sync: true
16+
matcher:
17+
title: "^docs?: ?.*"
18+
commit: "^docs?: ?.*"
19+
- label: "refactoring"
20+
sync: true
21+
matcher:
22+
title: "^refactor.*: ?.*"
23+
commit: "^refactor.*: ?.*"
24+
- label: "ci"
25+
sync: true
26+
matcher:
27+
title: "^ci.*: ?.*"
28+
commit: "^ci.*: ?.*"
29+
- label: "e2e-test"
30+
sync: true
31+
matcher:
32+
title: "^test.*: ?.*"
33+
commit: "^test.*: ?.*"
34+
files:
35+
any: [packages/docs/**/*.spec.ts]
36+
- label: "v3"
37+
sync: true
38+
matcher:
39+
baseBranch: 'main'
40+
- label: "v4"
41+
sync: true
42+
matcher:
43+
baseBranch: 'v4'

.github/workflows/auto-labeler.yml renamed to .github/workflows/labeler.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,3 @@ jobs:
1414
runs-on: ubuntu-latest
1515
steps:
1616
- uses: fuxingloh/multi-labeler@v4
17-
with:
18-
github-token: ${{ secrets.GITHUB_TOKEN }} # optional, default to '${{ github.token }}'
19-
config-path: .github/auto-labeler.yml # optional, default to '.github/labeler.yml'

0 commit comments

Comments
 (0)