Browse Source

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

btea 3 năm trước cách đây
mục cha
commit
1d2e738f62
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  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