You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by dw...@apache.org on 2025/05/28 15:11:23 UTC

(lucene) branch main updated: Only run the labeller on the main branch. (#14721)

This is an automated email from the ASF dual-hosted git repository.

dweiss pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/lucene.git


The following commit(s) were added to refs/heads/main by this push:
     new 2f39476d4e4 Only run the labeller on the main branch. (#14721)
2f39476d4e4 is described below

commit 2f39476d4e4e7017385cf6c104553937723baa23
Author: Dawid Weiss <da...@carrotsearch.com>
AuthorDate: Wed May 28 17:11:17 2025 +0200

    Only run the labeller on the main branch. (#14721)
---
 .github/workflows/label-pull-request.yml | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/.github/workflows/label-pull-request.yml b/.github/workflows/label-pull-request.yml
index 14631a11ba5..458c946f971 100644
--- a/.github/workflows/label-pull-request.yml
+++ b/.github/workflows/label-pull-request.yml
@@ -13,10 +13,15 @@ on:
 
 jobs:
   labeler:
+    # only run on the main Lucene repository.
+    if: (github.repository == 'apache/lucene')
+
     permissions:
       contents: read
       pull-requests: write
+
     runs-on: ubuntu-latest
+
     steps:
       - uses: actions/labeler@8558fd74291d67161a8a78ce36a881fa63b766a9 # v5.0.0
         with: