diff --git a/.github/labeler.yml b/.github/labeler.yml index 62a6ca852e..b3941c42c3 100644 --- a/.github/labeler.yml +++ b/.github/labeler.yml @@ -1,35 +1,52 @@ documentation: -- '**Doxyfile' -- '**docpages/**' -- '**/*.h' -- '**/documentation.yml' -- '**.cspell.json' -- '**README.md' -- '**SECURITY.md' -- '**CONTRIBUTING.md' -- '**CODE_OF_CONDUCT.md' +- changed-files: + - any-glob-to-any-file: + - '**Doxyfile' + - '**docpages/**' + - '**/*.h' + - '**/documentation.yml' + - '**.cspell.json' + - '**README.md' + - '**SECURITY.md' + - '**CONTRIBUTING.md' + - '**CODE_OF_CONDUCT.md' + build: -- '**buildtools/**' -- '**cmake/**' -- '**library-vcpkg/**' -- '**library/**' -- '**win32/**' -- '**CMakeLists.txt' -- '**CMakeSettings.json' -- '**settings.json' -- '**dpp.pc.in' +- changed-files: + - any-glob-to-any-file: + - '**buildtools/**' + - '**cmake/**' + - '**library-vcpkg/**' + - '**library/**' + - '**win32/**' + - '**CMakeLists.txt' + - '**CMakeSettings.json' + - '**settings.json' + - '**dpp.pc.in' + packaging: -- '**vcpkg/**' -- '**makerelease.sh' -- '**sign.sh' -- '**Dockerfile' +- changed-files: + - any-glob-to-any-file: + - '**vcpkg/**' + - '**makerelease.sh' + - '**sign.sh' + - '**Dockerfile' + submodules: -- '**.gitmodules' -- '**doxygen-awesome-css/**' # Ideally, nobody should be touching this, but it's here just in-case. +- changed-files: + - any-glob-to-any-file: + - '**.gitmodules' + - '**doxygen-awesome-css/**' # Ideally, nobody should be touching this, but it's here just in-case. + github_actions: -- '**.github/labeler.yml' -- '**.github/dependabot.yml' -- '**.github/workflows/**' +- changed-files: + - any-glob-to-any-file: + - '**.github/labeler.yml' + - '**.github/dependabot.yml' + - '**.github/workflows/**' + code: -- '**src/**' -- '**include/**' +- changed-files: + - any-glob-to-any-file: + - '**src/**' + - '**include/**' diff --git a/.github/workflows/labeler.yml b/.github/workflows/labeler.yml index 4cc35411d4..7add5f9e35 100644 --- a/.github/workflows/labeler.yml +++ b/.github/workflows/labeler.yml @@ -7,7 +7,7 @@ permissions: contents: read jobs: - triage: + labeler: permissions: pull-requests: write # Labeler needs to be able to add labels to PRs. runs-on: ubuntu-latest