mirror of
https://github.com/zdharma-continuum/zinit.git
synced 2026-09-10 07:36:38 -04:00
42 lines
965 B
YAML
42 lines
965 B
YAML
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'
|