GitHub Action: website.yml: don't run in forks (#501)
[rnaseq-cwl-training.git] / .github / workflows / website.yml
index 844ecd0f62e3bf99b2871d398abfa8032398a8e0..f82339b889a87c45734a305103268845162e2f70 100644 (file)
@@ -5,7 +5,7 @@ on:
   pull_request: []
 jobs:
   build-website:
-    if: github.repository != 'carpentries/styles'
+    if: github.repository != 'carpentries/styles' && (github.repository_owner == 'swcarpentry' || github.repository_owner == 'datacarpentry' || github.repository_owner == 'librarycarpentry' || github.repository_owner == 'carpentries')
     runs-on: ubuntu-latest
     defaults:
       run: