[devdocsgjs/main: 1590/1867] fix: prevent Deploy action running on forks




commit c2b38c19fa6e9392f2837f75f57c5a0ed8875a38
Author: Oliver Eyton-Williams <ojeytonwilliams gmail com>
Date:   Tue Mar 30 09:26:08 2021 +0200

    fix: prevent Deploy action running on forks

 .github/workflows/build.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index e9248ebe..7750f659 100644
--- a/.github/workflows/build.yml
+++ b/.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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]