add auto labeling for pr

This commit is contained in:
Schmieder, Jacob
2024-08-30 08:42:02 +00:00
parent 84dd2d3465
commit 7e4315ac72
2 changed files with 73 additions and 0 deletions
+51
View File
@@ -0,0 +1,51 @@
# .github/labeler.yml
# Label for documentation changes
documentation:
- changed-files:
- any-glob-to-any-file:
- 'docs/**'
- 'README.md'
- 'CHANGELOG.md'
# Label for Docker changes
docker:
- changed-files:
- any-glob-to-any-file:
- '*docker*'
- 'Docker*'
# Label for release-related changes
release:
- changed-files:
- any-glob-to-any-file:
- 'src/**'
- 'pyproject.toml'
- 'LICENCE'
tests:
- changed-files:
- any-glob-to-any-file:
- 'tests/**'
workflows:
- changed-files:
- any-glob-to-any-file:
- '.github/workflows/*'
- '.github/*'
github:
- changed-files:
- any-glob-to-any-file:
- '.gitignore'
feature:
- head-branch: ['^feature', 'feature']
patch:
- head-branch: ['^patch', 'patch', '^bug', 'bug']
ignore-pr-title-for-release:
- head-branch: ['develop']
- base-branch: ['main']