From 682d9e2d62e7178917cca337dfe1ef680d406e49 Mon Sep 17 00:00:00 2001 From: Ayesh Karunaratne Date: Sun, 24 Nov 2024 21:15:44 +0700 Subject: [PATCH] Labeler: Add labeler glob patterns for CI We have a "Category: CI" label in GH issues and PRs, but there is no labeler rule to automatically mark PRs as such. This adds a labeler rule to automatically add the "Category: CI" label if the PR changes _any_ file in: - '.circleci/*' - '.github/*' If all the changes are within these files, it will _not_ be labelled. - '.github/ISSUE_TEMPLATE/*' - '.github/lsan-suppressions.txt' --- .github/labeler.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/labeler.yml b/.github/labeler.yml index b9f0f36e147d4..310d82b000015 100644 --- a/.github/labeler.yml +++ b/.github/labeler.yml @@ -20,6 +20,14 @@ - scripts/**/* - win32/build/**/* +"Category: CI": + - changed-files: + - any-glob-to-any-file: + - .circleci/** + - .github/** + - '!.github/lsan-suppressions.txt' + - '!.github/ISSUE_TEMPLATE/**' + "Extension: bcmath": - changed-files: - any-glob-to-any-file: