From ad150f1b7e5a25e736d4dd663a2016241315cb53 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 7 Dec 2023 09:29:28 +0000 Subject: [PATCH] Bump actions/labeler from 4 to 5 (#2548) * 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] * adapting labeler to new API * Adapting workflow --------- Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: German --- .github/labeler.yml | 23 +++++++++++------------ .github/workflows/label.yml | 4 ++-- 2 files changed, 13 insertions(+), 14 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/**/*'] diff --git a/.github/workflows/label.yml b/.github/workflows/label.yml index 61d96413ad..415b92738e 100644 --- a/.github/workflows/label.yml +++ b/.github/workflows/label.yml @@ -34,10 +34,10 @@ 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: '' + sync-labels: true # Label based on branch name - uses: actions-ecosystem/action-add-labels@v1