Skip to content

Commit 46ff42f

Browse files
committed
🔄 created local '.github/labeler.yml' from remote 'configs/labeler.yml'
1 parent 33db6b2 commit 46ff42f

File tree

1 file changed

+63
-0
lines changed

1 file changed

+63
-0
lines changed

.github/labeler.yml

+63
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,63 @@
1+
Tests:
2+
- changed-files:
3+
- any-glob-to-any-file: [ "tests/**/*" ]
4+
5+
Dependencies:
6+
- changed-files:
7+
- any-glob-to-any-file:
8+
- "requirements.txt"
9+
- "setup.py"
10+
- "pyproject.toml"
11+
- "poetry.lock"
12+
- "pixi.toml"
13+
- "pixi.lock"
14+
- "Pipfile"
15+
- "Pipfile.lock"
16+
- "requirements/*.txt"
17+
- "requirements/*.in"
18+
19+
Build:
20+
- changed-files:
21+
- any-glob-to-any-file:
22+
- "Dockerfile*"
23+
- "docker-compose*.yml"
24+
- "Makefile"
25+
26+
Documentation:
27+
- changed-files:
28+
- any-glob-to-any-file:
29+
- "docs/**/*"
30+
- "*.md"
31+
- "*.rst"
32+
33+
Config:
34+
- changed-files:
35+
- any-glob-to-any-file:
36+
- ".pre-commit-config.yaml"
37+
- "config/**/*"
38+
- "settings/**/*"
39+
- "*.ini"
40+
- "*.cfg"
41+
- "*.conf"
42+
43+
CI/CD:
44+
- changed-files:
45+
- any-glob-to-any-file:
46+
- ".github/**/*"
47+
- "tox.ini"
48+
- ".coveragerc"
49+
50+
# Add 'feature' label to any PR where the head branch name starts with `feature` or has a `feature` section in the name
51+
feature:
52+
- head-branch:
53+
- '^feature'
54+
- 'feature'
55+
56+
# Add 'bugfix' label to branches with bug/fix/hotfix prefixes
57+
bugfix:
58+
- head-branch: [ '^bug', '^fix', '^hotfix' ]
59+
60+
# Add 'breaking' label for major version bumps or breaking change commits
61+
breaking:
62+
- title: [ '^BREAKING CHANGE', 'BREAKING-CHANGE' ]
63+
- body: [ 'BREAKING CHANGE:', 'BREAKING-CHANGE:' ]

0 commit comments

Comments
 (0)