run R-based lessons in forks
[rnaseq-cwl-training.git] / .github / workflows / website.yml
index fbc51c9762cf202df8876f88d066efc2247c1e1c..c5ba1417d39a72ea821eb15b37e243a316d8ea55 100644 (file)
@@ -5,7 +5,7 @@ on:
   pull_request: []
 jobs:
   build-website:
-    if: github.repository != 'carpentries/styles' && (github.repository_owner == 'swcarpentry' || github.repository_owner == 'datacarpentry' || github.repository_owner == 'librarycarpentry' || github.repository_owner == 'carpentries')
+    if: !endsWith(github.repository, '/styles')
     runs-on: ubuntu-latest
     defaults:
       run: