浏览代码

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

btea 3 年之前
父节点
当前提交
1d2e738f62
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      .github/workflows/cypress.yml

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

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