Browse Source

chore: avoid cypress workflow running through fork repository (#530)

btea 3 years ago
parent
commit
1d2e738f62
1 changed files with 1 additions and 0 deletions
  1. 1 0
      .github/workflows/cypress.yml

+ 1 - 0
.github/workflows/cypress.yml

@@ -22,6 +22,7 @@ jobs:
   install:
     runs-on: ubuntu-latest
     container: cypress/browsers:node14.16.0-chrome90-ff88
+    if: ${{ github.repository_owner == 'DouyinFE' }}
     steps:
       - name: Checkout
         uses: actions/checkout@v2