-
Notifications
You must be signed in to change notification settings - Fork 137
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: update labeler config to v5 (#604)
- Loading branch information
1 parent
4d623cb
commit 794723c
Showing
1 changed file
with
41 additions
and
7 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,7 +1,41 @@ | ||
ci: ['.github/**/*'] | ||
completion: ['_zinit'] | ||
docker: ['docker/*'] | ||
docs: ['*.md', 'doc/**/*'] | ||
scripts: ['scripts/*'] | ||
tests: ['.zunit.yml', 'tests/**/*'] | ||
zinit: ['_zinit', 'zinit*.zsh'] | ||
ci/cd: | ||
- changed-files: | ||
- any-glob-to-any-file: '.github/**' | ||
|
||
docker: | ||
- changed-files: | ||
- 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' |