From dbb7107d7cad7c70645da6f73f97f286d39da556 Mon Sep 17 00:00:00 2001 From: Kitzunu <24550914+Kitzunu@users.noreply.github.com> Date: Sun, 2 Jun 2024 06:29:11 +0200 Subject: [PATCH] fix(CI): fix labeler (#18990) * fix(CI): I think this fixes the labeler :D * Update labeler.yml * Update pr_labeler.yml * Update labeler.yml * test complete - this should work after merge * Update labeler.yml --- .github/labeler.yml | 53 ++++++++++++++++++++++++++++++--------------- 1 file changed, 35 insertions(+), 18 deletions(-) diff --git a/.github/labeler.yml b/.github/labeler.yml index d5987dac0..c41c0b22b 100644 --- a/.github/labeler.yml +++ b/.github/labeler.yml @@ -1,37 +1,54 @@ file-cpp: - - src/**/*.cpp - - src/**/*.h - - deps/**/*.cpp - - deps/**/*.h +- changed-files: + - any-glob-to-any-file: + - src/**/*.cpp + - src/**/*.h + - deps/**/*.cpp + - deps/**/*.h DB: - - data/**/*.sql +- changed-files: + - any-glob-to-any-file: data/**/*.sql CORE: - - any: ['src/**/*', '!src/server/scripts/*', '!src/tests/*'] +- all: + - changed-files: + - any-glob-to-any-file: 'src/**/*' + - all-globs-to-all-files: + - '!src/server/scripts/*' + - '!src/tests/*' Script: - - src/server/scripts/**/*.cpp - - src/server/scripts/**/*.h +- changed-files: + - any-glob-to-any-file: + - src/server/scripts/**/*.cpp + - src/server/scripts/**/*.h UnitTests: - - src/test/**/* +- changed-files: + - any-glob-to-any-file: src/test/**/* Documentation: - - ./*.md +- changed-files: + - any-glob-to-any-file: ./*.md Bash: - - ./*.sh - - apps/**/*.sh - - conf/**/*.sh - - deps/**/*.sh - - modules/**/*.sh +- changed-files: + - any-glob-to-any-file: + - ./*.sh + - apps/**/*.sh + - conf/**/*.sh + - deps/**/*.sh + - modules/**/*.sh CMake: - - ./*.cmake +- changed-files: + - any-glob-to-any-file: ./*.cmake Workflow: - - .github/workflows/* +- changed-files: + - any-glob-to-any-file: .github/workflows/* Batch: - - apps/**/*.bat +- changed-files: + - any-glob-to-any-file: apps/**/*.bat