浏览代码

Add condition to skip tests for draft pull requests in Playwright workflow

codecalm 6 月之前
父节点
当前提交
baafe08d6e
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      .github/workflows/playwright.yml

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

@@ -19,6 +19,7 @@ jobs:
   test:
     timeout-minutes: 60
     runs-on: ubuntu-latest
+    if: github.event.pull_request.draft == false
     steps:
       - name: Clone repository
         uses: actions/checkout@v4