From 8951e4b98b469ebbd78bdbd1d95d21f18fab7f74 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 4 Dec 2023 22:04:39 +0000 Subject: [PATCH 1/3] Bump actions/labeler from 4 to 5 Bumps [actions/labeler](https://github.com/actions/labeler) from 4 to 5. - [Release notes](https://github.com/actions/labeler/releases) - [Commits](https://github.com/actions/labeler/compare/v4...v5) --- updated-dependencies: - dependency-name: actions/labeler dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- .github/workflows/label.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/label.yml b/.github/workflows/label.yml index 61d96413ad..8751501b4a 100644 --- a/.github/workflows/label.yml +++ b/.github/workflows/label.yml @@ -34,7 +34,7 @@ jobs: # Label based on modified files - name: Label based on changed files - uses: actions/labeler@v4 + uses: actions/labeler@v5 with: repo-token: "${{ secrets.GITHUB_TOKEN }}" sync-labels: '' From d4e7c085e8a96fadd01102cb33128c4efe30fc1c Mon Sep 17 00:00:00 2001 From: German Date: Thu, 7 Dec 2023 10:11:47 +0100 Subject: [PATCH 2/3] adapting labeler to new API --- .github/labeler.yml | 23 +++++++++++------------ 1 file changed, 11 insertions(+), 12 deletions(-) diff --git a/.github/labeler.yml b/.github/labeler.yml index e878be9c1e..296d0574ae 100644 --- a/.github/labeler.yml +++ b/.github/labeler.yml @@ -1,16 +1,15 @@ Documentation: -- doc/source/**/* -- examples/**/* +- changed-files: + - any-glob-to-any-file: ['doc/source/**/*', 'examples/**/*'] + Maintenance: -- .github/**/* -- codecov.yml -- .flake8 -- .coveragerc -- ignore_words.txt -- pyproject.toml +- changed-files: + - any-glob-to-any-file: ['.github/**/*', 'codecov.yml', '.flake8', '.coveragerc', 'ignore_words.txt', 'pyproject.toml'] + Dependencies: -- pyproject.toml +- changed-files: + - any-glob-to-any-file: ['pyproject.toml'] + CI/CD: -- docker/**/* -- .github/**/* -- .ci/**/* +- changed-files: + - any-glob-to-any-file: ['docker/**/*', '.github/**/*', '.ci/**/*'] From 5f1108381402a47fc9c3e1a75fa29cd169bdabe8 Mon Sep 17 00:00:00 2001 From: German Date: Thu, 7 Dec 2023 10:12:40 +0100 Subject: [PATCH 3/3] Adapting workflow --- .github/workflows/label.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/label.yml b/.github/workflows/label.yml index 8751501b4a..415b92738e 100644 --- a/.github/workflows/label.yml +++ b/.github/workflows/label.yml @@ -37,7 +37,7 @@ jobs: uses: actions/labeler@v5 with: repo-token: "${{ secrets.GITHUB_TOKEN }}" - sync-labels: '' + sync-labels: true # Label based on branch name - uses: actions-ecosystem/action-add-labels@v1