Skip to content

Commit 4ce6558

Browse files
committed
ci: add label workflows
1 parent 2c59d0b commit 4ce6558

File tree

2 files changed

+61
-0
lines changed

2 files changed

+61
-0
lines changed

.github/labeler.yml

+49
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
training:
2+
- changed-files:
3+
- any-glob-to-any-file: [ "training/**/*" ]
4+
5+
graphs:
6+
- changed-files:
7+
- any-glob-to-any-file: [ "graphs/**/*" ]
8+
9+
models:
10+
- changed-files:
11+
- any-glob-to-any-file: [ "models/**/*" ]
12+
13+
dependencies:
14+
- changed-files:
15+
- any-glob-to-any-file:
16+
- "requirements.txt"
17+
- "setup.py"
18+
- "pyproject.toml"
19+
- "poetry.lock"
20+
- "pixi.toml"
21+
- "pixi.lock"
22+
- "Pipfile"
23+
- "Pipfile.lock"
24+
- "requirements/*.txt"
25+
- "requirements/*.in"
26+
27+
documentation:
28+
- changed-files:
29+
- any-glob-to-any-file:
30+
- "docs/**/*"
31+
- "*.md"
32+
- "*.rst"
33+
34+
config:
35+
- changed-files:
36+
- any-glob-to-any-file:
37+
- ".pre-commit-config.yaml"
38+
- "config/**/*"
39+
- "settings/**/*"
40+
- "*.ini"
41+
- "*.cfg"
42+
- "*.conf"
43+
44+
CI/CD:
45+
- changed-files:
46+
- any-glob-to-any-file:
47+
- ".github/**/*"
48+
- "tox.ini"
49+
- ".coveragerc"

.github/workflows/pr-labeller.yml

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
name: "Pull Request Labeler"
2+
on:
3+
- pull_request_target
4+
5+
jobs:
6+
labeler:
7+
permissions:
8+
contents: read
9+
pull-requests: write
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: actions/labeler@v5

0 commit comments

Comments
 (0)