Quellcode durchsuchen

fix: prevent Deploy action running on forks

Oliver Eyton-Williams vor 4 Jahren
Ursprung
Commit
c2b38c19fa
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  1. 1 1
      .github/workflows/build.yml

+ 1 - 1
.github/workflows/build.yml

@@ -8,7 +8,7 @@ on:
 jobs:
   test:
     runs-on: ubuntu-20.04
-
+    if: github.repository == 'freeCodeCamp/devdocs'
     steps:
     - uses: actions/checkout@v2.3.4
     - name: Set up Ruby