mirror of
https://github.com/zdharma-continuum/zinit.git
synced 2026-09-10 07:36:38 -04:00
fix: update labeler config to v5 (#604)
This commit is contained in:
parent
4d623cbfae
commit
794723cc48
48
.github/labeler.yml
vendored
48
.github/labeler.yml
vendored
|
|
@ -1,7 +1,41 @@
|
||||||
ci: ['.github/**/*']
|
ci/cd:
|
||||||
completion: ['_zinit']
|
- changed-files:
|
||||||
docker: ['docker/*']
|
- any-glob-to-any-file: '.github/**'
|
||||||
docs: ['*.md', 'doc/**/*']
|
|
||||||
scripts: ['scripts/*']
|
docker:
|
||||||
tests: ['.zunit.yml', 'tests/**/*']
|
- changed-files:
|
||||||
zinit: ['_zinit', 'zinit*.zsh']
|
- any-glob-to-any-file: 'docker/**'
|
||||||
|
|
||||||
|
scripts:
|
||||||
|
- changed-files:
|
||||||
|
- any-glob-to-any-file: 'docker/**'
|
||||||
|
|
||||||
|
tests:
|
||||||
|
- changed-files:
|
||||||
|
- any-glob-to-any-file: ['.zunit.yml', 'tests/**/*']
|
||||||
|
|
||||||
|
completion:
|
||||||
|
- changed-files:
|
||||||
|
- any-glob-to-any-file: '_zinit'
|
||||||
|
|
||||||
|
# Add 'Documentation' label to any file changes within 'docs' folder
|
||||||
|
docs:
|
||||||
|
- changed-files:
|
||||||
|
- any-glob-to-any-file: 'doc/**'
|
||||||
|
- any-glob-to-any-file: '**/*.md'
|
||||||
|
|
||||||
|
# Add 'source' label to any change to src files within the source dir EXCEPT for the docs sub-folder
|
||||||
|
zinit:
|
||||||
|
- changed-files:
|
||||||
|
- any-glob-to-any-file: 'zinit*.zsh*'
|
||||||
|
|
||||||
|
# Add 'feature' label to any PR where the head branch name starts with `feature` or has a `feature` section in the name
|
||||||
|
feature:
|
||||||
|
- head-branch: ['^feat']
|
||||||
|
|
||||||
|
fix:
|
||||||
|
- head-branch: ['^fix']
|
||||||
|
|
||||||
|
# Add 'release' label to any PR that is opened against the `main` branch
|
||||||
|
release:
|
||||||
|
- base-branch: 'main'
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue