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] <support@github.com>

* Update

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: zvecr <git@zvecr.com>
This commit is contained in:
dependabot[bot] 2024-07-24 00:05:50 +01:00 committed by GitHub
parent 622dc56250
commit 60c5ad821c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 51 additions and 46 deletions

72
.github/labeler.yml vendored
View File

@ -1,46 +1,56 @@
core: core:
- quantum/**/* - changed-files:
- tmk_core/**/* - any-glob-to-any-file:
- drivers/**/* - quantum/**
- tests/**/* - tmk_core/**
- util/**/* - drivers/**
- platforms/**/* - tests/**
- builddefs/**/* - util/**
- platforms/**
- builddefs/*.mk
- Makefile - Makefile
- '*.mk' - '*.mk'
dependencies: dependencies:
- any: - all:
- 'lib/**/*' - changed-files:
- '!lib/python/**/*' - any-glob-to-any-file: lib/**
- all-globs-to-all-files: '!lib/python/**'
keyboard: keyboard:
- any: - all:
- 'keyboards/**/*' - changed-files:
- '!keyboards/**/keymaps/**/*' - any-glob-to-any-file: keyboards/**
- all-globs-to-all-files: '!keyboards/**/keymaps/**'
keymap: keymap:
- users/**/* - changed-files:
- layouts/**/* - any-glob-to-any-file:
- keyboards/**/keymaps/**/* - users/**
- layouts/**
- keyboards/**/keymaps/**
via: via:
- changed-files:
- any-glob-to-any-file:
- keyboards/**/keymaps/via/* - keyboards/**/keymaps/via/*
cli: cli:
- changed-files:
- any-glob-to-any-file:
- requirements.txt - requirements.txt
- lib/python/**/* - lib/python/**
python: python:
- changed-files:
- any-glob-to-any-file:
- '**/*.py' - '**/*.py'
documentation: documentation:
- docs/**/* - changed-files:
translation: - any-glob-to-any-file:
- docs/fr-fr/**/* - docs/**
- docs/es/**/* - builddefs/docsgen/**
- docs/ja/**/*
- docs/he-il/**/*
- docs/pt-br/**/*
- docs/zh-cn/**/*
- docs/de/**/*
- docs/ru-ru/**/*
CI: CI:
- .github/**/* - changed-files:
- any-glob-to-any-file:
- .github/**
dd: dd:
- data/constants/**/* - changed-files:
- data/mappings/**/* - any-glob-to-any-file:
- data/schemas/**/* - data/constants/**
- data/mappings/**
- data/schemas/**

View File

@ -1,18 +1,13 @@
name: "Pull Request Labeler" name: "Pull Request Labeler"
permissions:
contents: read
pull-requests: write
on: on:
pull_request_target: - pull_request_target
types: [opened, synchronize, reopened, ready_for_review, locked]
jobs: jobs:
triage: triage:
permissions:
contents: read
pull-requests: write
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/labeler@v4 - uses: actions/labeler@v5
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"
configuration-path: '.github/labeler.yml'