From b5cc616a9c023fa3c1e653b7eabee4bb9f6a2e5d Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 8 Dec 2023 17:55:53 -0600 Subject: [PATCH 1/4] build(deps): bump actions/setup-python from 4 to 5 (#601) Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- .github/workflows/linting.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/linting.yaml b/.github/workflows/linting.yaml index ee228f204..ca8acd984 100644 --- a/.github/workflows/linting.yaml +++ b/.github/workflows/linting.yaml @@ -19,7 +19,7 @@ jobs: with: fetch-depth: '0' - - uses: actions/setup-python@v4 + - uses: actions/setup-python@v5 - name: install dependencies run: | From 0fde0ef66b8a88664e8b15327f2db5c1477ebfb3 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 8 Dec 2023 17:56:00 -0600 Subject: [PATCH 2/4] build(deps): bump actions/labeler from 4 to 5 (#600) Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- .github/workflows/labeler.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/labeler.yaml b/.github/workflows/labeler.yaml index 8a3362dbb..0d9976125 100644 --- a/.github/workflows/labeler.yaml +++ b/.github/workflows/labeler.yaml @@ -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 From 4d623cbfae646220cc6e03c276feb02c27abb90b Mon Sep 17 00:00:00 2001 From: vladislav doster <10052309+vladdoster@users.noreply.github.com> Date: Fri, 8 Dec 2023 19:54:04 -0600 Subject: [PATCH 3/4] ci: fix invalid labeler configuration (#603) --- .github/labeler.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/labeler.yml b/.github/labeler.yml index 6f817c6fe..8ff50ffd4 100644 --- a/.github/labeler.yml +++ b/.github/labeler.yml @@ -1,4 +1,4 @@ -ci/cd: ['.github/**/*'] +ci: ['.github/**/*'] completion: ['_zinit'] docker: ['docker/*'] docs: ['*.md', 'doc/**/*'] From 794723cc4829e0f9293fc441100913ac7f02566a Mon Sep 17 00:00:00 2001 From: vladislav doster <10052309+vladdoster@users.noreply.github.com> Date: Fri, 8 Dec 2023 20:13:30 -0600 Subject: [PATCH 4/4] fix: update labeler config to v5 (#604) --- .github/labeler.yml | 48 ++++++++++++++++++++++++++++++++++++++------- 1 file changed, 41 insertions(+), 7 deletions(-) diff --git a/.github/labeler.yml b/.github/labeler.yml index 8ff50ffd4..ff92fe680 100644 --- a/.github/labeler.yml +++ b/.github/labeler.yml @@ -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'