Skip to content

Commit acde991

Browse files
committed
ci: upgrade GitHub auto-labeler config
1 parent 6eae1ac commit acde991

2 files changed

Lines changed: 55 additions & 4 deletions

File tree

.github/labeler.yml

Lines changed: 54 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,59 @@
1+
bug:
2+
- head-branch:
3+
- ^fix
4+
- fix
5+
- ^hotfix
6+
- hotfix
7+
18
ci-cd:
2-
- .github/**/*
9+
- changed-files:
10+
- any-glob-to-any-file:
11+
- .github/**
312

413
dependencies:
5-
- any: ['requirements.txt', 'requirements/*.txt']
14+
- changed-files:
15+
- any-glob-to-any-file:
16+
- requirements/*.txt
17+
- requirements.txt
618

719
documentation:
8-
- docs/**/*
20+
- changed-files:
21+
- any-glob-to-any-file:
22+
- "*.md"
23+
- docs/**
24+
- requirements/documentation.txt
25+
- head-branch:
26+
- ^docs
27+
- documentation
28+
29+
enhancement:
30+
- head-branch:
31+
- ^feature
32+
- feature
33+
- ^improve
34+
- improve
35+
36+
packaging:
37+
- changed-files:
38+
- any-glob-to-any-file:
39+
- MANIFEST.in
40+
- setup.py
41+
- head-branch:
42+
- ^packaging
43+
- packaging
44+
45+
quality:
46+
- changed-files:
47+
- any-glob-to-any-file:
48+
- tests/**/*
49+
50+
tooling:
51+
- changed-files:
52+
- any-glob-to-any-file:
53+
- ".*"
54+
- codecov.yml
55+
- setup.cfg
56+
- .vscode/**/*
57+
- head-branch:
58+
- ^tooling
59+
- tooling

.github/workflows/pr-auto-labeler.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ jobs:
66
triage:
77
runs-on: ubuntu-latest
88
steps:
9-
- uses: actions/labeler@v4
9+
- uses: actions/labeler@v5
1010
with:
1111
repo-token: "${{ secrets.GITHUB_TOKEN }}"
1212
sync-labels: true

0 commit comments

Comments
 (0)