From 60c5ad821cbaf07ddca29cfad9f3c6629f8e658c Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 24 Jul 2024 00:05:50 +0100 Subject: [PATCH] Bump actions/labeler from 4 to 5 (#22608) * 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] * Update --------- Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: zvecr --- .github/labeler.yml | 82 ++++++++++++++++++++--------------- .github/workflows/labeler.yml | 15 +++---- 2 files changed, 51 insertions(+), 46 deletions(-) diff --git a/.github/labeler.yml b/.github/labeler.yml index 95eaa49252..f0e72786b2 100644 --- a/.github/labeler.yml +++ b/.github/labeler.yml @@ -1,46 +1,56 @@ core: - - quantum/**/* - - tmk_core/**/* - - drivers/**/* - - tests/**/* - - util/**/* - - platforms/**/* - - builddefs/**/* - - Makefile - - '*.mk' + - changed-files: + - any-glob-to-any-file: + - quantum/** + - tmk_core/** + - drivers/** + - tests/** + - util/** + - platforms/** + - builddefs/*.mk + - Makefile + - '*.mk' dependencies: - - any: - - 'lib/**/*' - - '!lib/python/**/*' + - all: + - changed-files: + - any-glob-to-any-file: lib/** + - all-globs-to-all-files: '!lib/python/**' keyboard: - - any: - - 'keyboards/**/*' - - '!keyboards/**/keymaps/**/*' + - all: + - changed-files: + - any-glob-to-any-file: keyboards/** + - all-globs-to-all-files: '!keyboards/**/keymaps/**' keymap: - - users/**/* - - layouts/**/* - - keyboards/**/keymaps/**/* + - changed-files: + - any-glob-to-any-file: + - users/** + - layouts/** + - keyboards/**/keymaps/** via: - - keyboards/**/keymaps/via/* + - changed-files: + - any-glob-to-any-file: + - keyboards/**/keymaps/via/* cli: - - requirements.txt - - lib/python/**/* + - changed-files: + - any-glob-to-any-file: + - requirements.txt + - lib/python/** python: - - '**/*.py' + - changed-files: + - any-glob-to-any-file: + - '**/*.py' documentation: - - docs/**/* -translation: - - docs/fr-fr/**/* - - docs/es/**/* - - docs/ja/**/* - - docs/he-il/**/* - - docs/pt-br/**/* - - docs/zh-cn/**/* - - docs/de/**/* - - docs/ru-ru/**/* + - changed-files: + - any-glob-to-any-file: + - docs/** + - builddefs/docsgen/** CI: - - .github/**/* + - changed-files: + - any-glob-to-any-file: + - .github/** dd: - - data/constants/**/* - - data/mappings/**/* - - data/schemas/**/* + - changed-files: + - any-glob-to-any-file: + - data/constants/** + - data/mappings/** + - data/schemas/** diff --git a/.github/workflows/labeler.yml b/.github/workflows/labeler.yml index fa4b8981ad..2dc354dda2 100644 --- a/.github/workflows/labeler.yml +++ b/.github/workflows/labeler.yml @@ -1,18 +1,13 @@ name: "Pull Request Labeler" -permissions: - contents: read - pull-requests: write - on: - pull_request_target: - types: [opened, synchronize, reopened, ready_for_review, locked] +- pull_request_target jobs: triage: + permissions: + contents: read + pull-requests: write runs-on: ubuntu-latest steps: - - uses: actions/labeler@v4 - with: - repo-token: "${{ secrets.GITHUB_TOKEN }}" - configuration-path: '.github/labeler.yml' + - uses: actions/labeler@v5