-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
3bac8ac
commit 918d781
Showing
3 changed files
with
54 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,53 @@ | ||
documentation: | ||
- doc/source/**/* | ||
maintenance: | ||
- .github/**/* | ||
- .flake8 | ||
- pyproject.toml | ||
dependencies: | ||
- requirements/* | ||
plotting: | ||
- src/lamberthub/plotting/**/* | ||
# This file is required by the the action 'https://github.com/actions/labeler' | ||
# and used in the '.github/workflows/ci_cd_pr.yml' workflow | ||
|
||
# -- Labels based on PR title ------------------------------------------------ | ||
'fix': | ||
- head-branch: ['fix'] | ||
|
||
'enhancement': | ||
- head-branch: ['feat'] | ||
|
||
# -- Documentation labels ---------------------------------------------------- | ||
'docs': | ||
- all: | ||
- changed-files: | ||
- any-glob-to-any-file: ['doc/source/**/*.rst'] | ||
- all-globs-to-all-files: ['!doc/source/examples.rst', '!doc/source/api/**/*.rst', '!doc/styles/**', '!doc/.vale.ini'] | ||
|
||
'docs:api': | ||
- any: | ||
- changed-files: | ||
- any-glob-to-any-file: ['doc/source/api/**/*.rst'] | ||
|
||
'docs:examples': | ||
- any: | ||
- changed-files: | ||
- any-glob-to-any-file: ['examples/**/*.py', 'doc/source/examples.rst'] | ||
|
||
|
||
## -- Other labels ------------------------------------------------------------ | ||
'code-style': | ||
- any: | ||
- changed-files: | ||
- any-glob-to-any-file: ['.pre-commit-config.yaml', 'doc/.vale.ini'] | ||
|
||
'docker': | ||
- any: | ||
- changed-files: | ||
- any-glob-to-any-file: ['docker/**'] | ||
|
||
'ci': | ||
- any: | ||
- changed-files: | ||
- any-glob-to-any-file: ['.github/workflows/**'] | ||
|
||
'tests': | ||
- any: | ||
- changed-files: | ||
- any-glob-to-any-file: ['tests/**'] | ||
|
||
'plotting': | ||
- any: | ||
- changed-files: | ||
- any-glob-to-any-file: ['src/lamberthub/plotting/**'] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters