Skip to content

Commit

Permalink
Merge branch 'main' into feat/make-ices
Browse files Browse the repository at this point in the history
  • Loading branch information
vladdoster authored Dec 9, 2023
2 parents 4f146dd + 794723c commit 9c670d1
Show file tree
Hide file tree
Showing 3 changed files with 43 additions and 9 deletions.
48 changes: 41 additions & 7 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,41 @@
ci/cd: ['.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'
2 changes: 1 addition & 1 deletion .github/workflows/labeler.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/labeler@v4
- uses: actions/labeler@v5
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"
sync-labels: true
2 changes: 1 addition & 1 deletion .github/workflows/linting.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
with:
fetch-depth: '0'

- uses: actions/setup-python@v4
- uses: actions/setup-python@v5

- name: install dependencies
run: |
Expand Down

0 comments on commit 9c670d1

Please sign in to comment.