Browse Source

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

codecalm 6 tháng trước cách đây
mục cha
commit
baafe08d6e
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  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