Skip to content

Commit 29d4740

Browse files
Cleanup Labeler config.
1 parent 46a060a commit 29d4740

File tree

1 file changed

+36
-29
lines changed

1 file changed

+36
-29
lines changed

.github/labeler.yml

Lines changed: 36 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -1,53 +1,60 @@
11
# Add 'Python Repo' label to any root file changes
22
Python Repo:
33
- changed-files:
4-
- any-glob-to-any-file: 'setup.py'
5-
- any-glob-to-any-file: 'pythonrepo/*.py'
4+
- any-glob-to-any-file:
5+
- setup.py
6+
- pythonrepo/*.py
67

78
# Add 'Lint' label to any lint file changes
89
Linter:
910
- changed-files:
10-
- any-glob-to-any-file: '.stickler.yml'
11-
- any-glob-to-any-file: '.hound.yml'
12-
- any-glob-to-any-file: '.yamllint.conf'
13-
- any-glob-to-any-file: '.flake8.ini'
14-
- any-glob-to-any-file: '.deepsource.toml'
15-
- any-glob-to-any-file: 'tests/check_*'
11+
- any-glob-to-any-file:
12+
- .stickler.yml
13+
- .hound.yml
14+
- .yamllint.conf
15+
- .flake8.ini
16+
- .deepsource.toml
17+
- tests/check_*
1618

1719
# Add 'Lang' label to any python file changes
1820
Python Lang:
1921
- changed-files:
20-
- any-glob-to-any-file: '**/*.py'
21-
- any-glob-to-any-file: '*.py'
22+
- any-glob-to-any-file:
23+
- '**/*.py'
24+
- '*.py'
2225

2326
Configs:
2427
- changed-files:
25-
- any-glob-to-any-file: '*.yml'
26-
- any-glob-to-any-file: './**/*.yml'
27-
- any-glob-to-any-file: '*.ini'
28-
- any-glob-to-any-file: '*.toml'
29-
- any-glob-to-any-file: '*.cfg'
30-
- any-glob-to-any-file: 'requirements.txt'
28+
- any-glob-to-any-file:
29+
- '*.yml'
30+
- ./**/*.yml
31+
- '*.ini'
32+
- '*.toml'
33+
- '*.cfg'
34+
- requirements.txt
3135

3236
# Add 'test' label
3337
Testing:
3438
- changed-files:
35-
- any-glob-to-any-file: 'tests/**/*.py'
36-
- any-glob-to-any-file: 'tests/*'
37-
- any-glob-to-any-file: '.circleci/*'
39+
- any-glob-to-any-file:
40+
- tests/**/*.py
41+
- tests/*
42+
- .circleci/*
3843

3944
CI:
4045
- changed-files:
41-
- any-glob-to-any-file: 'tests/*.py'
42-
- any-glob-to-any-file: '.stickler.yml'
43-
- any-glob-to-any-file: '.hound.yml'
44-
- any-glob-to-any-file: '.travis.yml'
45-
- any-glob-to-any-file: '.appveyor.yml'
46-
- any-glob-to-any-file: '.github/workflows/*'
47-
- any-glob-to-any-file: '.circleci/*'
46+
- any-glob-to-any-file:
47+
- tests/*.py
48+
- .stickler.yml
49+
- .hound.yml
50+
- .travis.yml
51+
- .appveyor.yml
52+
- .github/workflows/*
53+
- .circleci/*
4854

4955
Github:
5056
- changed-files:
51-
- any-glob-to-any-file: '.github/**/*'
52-
- any-glob-to-any-file: '.github/*'
53-
- any-glob-to-any-file: 'README.md'
57+
- any-glob-to-any-file:
58+
- .github/**/*
59+
- .github/*
60+
- README.md

0 commit comments

Comments
 (0)