You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucenenet.apache.org by pa...@apache.org on 2026/07/09 13:05:21 UTC

(lucenenet) branch master updated: Fix website build job to only run if it is executing on the main upstream repository (#1418)

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

paulirwin pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/lucenenet.git


The following commit(s) were added to refs/heads/master by this push:
     new 69431e7c9 Fix website build job to only run if it is executing on the main upstream repository (#1418)
69431e7c9 is described below

commit 69431e7c9e7db80c79d9c769555fc122153b8599
Author: John Bampton <jb...@users.noreply.github.com>
AuthorDate: Thu Jul 9 23:05:16 2026 +1000

    Fix website build job to only run if it is executing on the main upstream repository (#1418)
---
 .github/workflows/Lucene-Net-Website.yml | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/.github/workflows/Lucene-Net-Website.yml b/.github/workflows/Lucene-Net-Website.yml
index 5206a4efb..16f2c3eb5 100644
--- a/.github/workflows/Lucene-Net-Website.yml
+++ b/.github/workflows/Lucene-Net-Website.yml
@@ -49,6 +49,8 @@ env:
 
 jobs:
   build:
+    # CRITICAL FIX: Only run this job if it is executing on the main upstream repository
+    if: github.repository == 'apache/lucenenet'
     runs-on: windows-latest
     steps: