.github/workflows/Lucene-Net-Website.yml: Run job only if we are pushing to the main fork. All other forks will ignore this action.
diff --git a/.github/workflows/Lucene-Net-Website.yml b/.github/workflows/Lucene-Net-Website.yml
index 8f5eb40..173766c 100644
--- a/.github/workflows/Lucene-Net-Website.yml
+++ b/.github/workflows/Lucene-Net-Website.yml
@@ -48,6 +48,7 @@
jobs:
build:
runs-on: windows-latest
+ if: ${{ github.repository == 'apache/lucenenet' }} # Run only on the main fork (SHAZWAZZA - check whether this is right)
steps:
- name: Checkout Lucene.Net source
uses: actions/checkout@v2