Skip to content

Commit 52ecccf

Browse files
authored
refine label additions that drive release categories (#7957)
1 parent 5f8d364 commit 52ecccf

File tree

1 file changed

+7
-18
lines changed

1 file changed

+7
-18
lines changed

.github/labeler.yml

Lines changed: 7 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,10 @@ enhancement:
55
- head-branch: ['^feature/', '^feat/', '^enhancement/', '^enh/']
66

77
bug:
8-
- head-branch: ['^fix/', '^bug/']
8+
- head-branch: ['^fix/', '^bug/', '^bugfix/']
99

1010
chore:
11-
- all:
12-
- changed-files:
13-
- any-glob-to-any-file: ['.github/**/*', 'hack/**/*', '*']
14-
- all-globs-to-all-files: ['!*.md', '!go.mod', '!go.sum', '!*.go']
11+
- head-branch: ['^chore/']
1512

1613
github_actions:
1714
- changed-files:
@@ -26,25 +23,17 @@ python:
2623
- any-glob-to-any-file: ['tests/**/*.py', 'tests/**/requirements.txt', 'tests/**/*.yaml', 'perf-tests/**/*.py', 'perf-tests/**/*.yaml']
2724

2825
tests:
29-
- all:
30-
- changed-files:
31-
- any-glob-to-any-file: ['tests/**/*', 'perf-tests/**/*']
32-
- all-globs-to-all-files: ['!tests/requirements.txt', '!perf-tests/requirements.txt']
26+
- head-branch: ['^tests?/']
3327

3428
documentation:
35-
- head-branch: ['^docs/', '^doc/']
36-
- changed-files:
37-
- any-glob-to-any-file: '**/*.md'
29+
- head-branch: ['^docs?/']
3830

3931
dependencies:
40-
- head-branch: ['^deps/', '^dep/', '^dependabot/', 'pre-commit-ci-update-config']
41-
- changed-files:
42-
- any-glob-to-any-file: ['go.mod', 'go.sum']
32+
- head-branch: ['^deps?/', '^dependabot/', '^renovate/', 'pre-commit-ci-update-config']
4333

4434
helm_chart:
45-
- changed-files:
46-
- any-glob-to-any-file: 'charts/nginx-ingress/**/*'
35+
- head-branch: ['^helm/', '^chart/']
4736

4837
docker:
4938
- changed-files:
50-
- any-glob-to-any-file: '**/Dockerfile'
39+
- any-glob-to-any-file: '**/Dockerfile*'

0 commit comments

Comments
 (0)