This is an automated email from the ASF dual-hosted git repository.
merlimat pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/pulsar.git
The following commit(s) were added to refs/heads/master by this push:
new 1ec96ad4f66 [fix][ci] Prevent Pull Request Labeler from canceling runs
across PRs (#25968)
1ec96ad4f66 is described below
commit 1ec96ad4f66cc532e8c368342eae858948e23471
Author: Lari Hotari <[email protected]>
AuthorDate: Mon Jun 8 18:09:09 2026 +0300
[fix][ci] Prevent Pull Request Labeler from canceling runs across PRs
(#25968)
---
.github/labeler.yml | 3 +++
.github/workflows/labeler.yml | 7 +++++--
2 files changed, 8 insertions(+), 2 deletions(-)
diff --git a/.github/labeler.yml b/.github/labeler.yml
index 851dd2ed272..761f63c8ebf 100644
--- a/.github/labeler.yml
+++ b/.github/labeler.yml
@@ -15,6 +15,9 @@
# specific language governing permissions and limitations
# under the License.
+# After updating these rules, update .github/workflows/labeler.yml to trigger
when a file changes
+# in one of the defined paths.
+
PIP:
- changed-files:
- any-glob-to-any-file: 'pip/**'
diff --git a/.github/workflows/labeler.yml b/.github/workflows/labeler.yml
index 6a69a424be1..ae19696817d 100644
--- a/.github/workflows/labeler.yml
+++ b/.github/workflows/labeler.yml
@@ -17,10 +17,13 @@
name: "Pull Request Labeler"
on:
- - pull_request_target
+ pull_request_target:
+ # only run when a file in a path defined in .github/labeler.yml is changed
+ paths:
+ - 'pip/**'
concurrency:
- group: ${{ github.workflow }}-${{ github.ref }}-${{ github.event_name }}
+ group: ${{ github.workflow }}-${{ github.ref }}-${{ github.event_name }}-${{
github.event.number }}
cancel-in-progress: true
jobs: