Commit c445f1b93d3 for php.net
commit c445f1b93d33454ba23c534aab548118624086e8
Author: Ayesh Karunaratne <ayesh@aye.sh>
Date: Sun Nov 24 21:15:44 2024 +0700
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'
Closes GH-16915.
diff --git a/.github/labeler.yml b/.github/labeler.yml
index b9f0f36e147..310d82b0000 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: