Skip to content

Commit f009e5c

Browse files
authored
chore: improve automatic labeler (#529)
* chore: improve automatic labeler * Apply suggestions from code review Co-authored-by: Marek Grzelak <git@seqre.dev>
1 parent 460b273 commit f009e5c

2 files changed

Lines changed: 28 additions & 8 deletions

File tree

.github/dependabot.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ updates:
1010
update-types:
1111
- minor
1212
- patch
13+
labels:
14+
- A-deps
1315

1416
- package-ecosystem: github-actions
1517
directory: /
@@ -19,3 +21,5 @@ updates:
1921
dependencies:
2022
patterns:
2123
- "*"
24+
labels:
25+
- A-deps

.github/labeler.yml

Lines changed: 24 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,35 @@
1+
# AREAS
2+
A-ci:
3+
- changed-files:
4+
- any-glob-to-any-file: [".github/**/*.yml"]
5+
6+
A-docs:
7+
- changed-files:
8+
- any-glob-to-any-file: ["docs/**", "**/*.md"]
9+
10+
A-deps:
11+
- changed-files:
12+
- any-glob-to-any-file: ["**/Cargo.lock"]
13+
14+
# CRATES
115
C-lib:
216
- changed-files:
3-
- any-glob-to-any-file: ['cot/**']
17+
- any-glob-to-any-file: ["cot/**"]
418

519
C-cli:
620
- changed-files:
7-
- any-glob-to-any-file: ['cot-cli/**']
21+
- any-glob-to-any-file: ["cot-cli/**"]
822

9-
C-macros:
23+
C-codegen:
1024
- changed-files:
11-
- any-glob-to-any-file: ['cot-macros/**']
25+
- any-glob-to-any-file: ["cot-codegen/**"]
1226

13-
C-codegen:
27+
C-core:
1428
- changed-files:
15-
- any-glob-to-any-file: ['cot-codegen/**']
29+
- any-glob-to-any-file: ["cot-core/**"]
1630

17-
A-ci:
31+
C-macros:
1832
- changed-files:
19-
- any-glob-to-any-file: ['.github/**']
33+
- any-glob-to-any-file: ["cot-macros/**"]
34+
35+
# OTHERS

0 commit comments

Comments
 (0)