Jonathan Kelley 3 лет назад
Родитель
Сommit
542b48a59c
3 измененных файлов с 11 добавлено и 0 удалено
  1. 3 0
      .github/workflows/macos.yml
  2. 4 0
      .github/workflows/main.yml
  3. 4 0
      .github/workflows/windows.yml

+ 3 - 0
.github/workflows/macos.yml

@@ -10,10 +10,13 @@ on:
       - lib.rs
       - Cargo.toml
   pull_request:
+    types: [opened, synchronize, reopened, ready_for_review]
     branches:
       - master
 
 jobs:
+  JOB:
+    if: github.event.pull_request.draft == false
   test:
     name: Test Suite
     runs-on: macos-latest

+ 4 - 0
.github/workflows/main.yml

@@ -10,10 +10,14 @@ on:
       - lib.rs
       - Cargo.toml
   pull_request:
+    types: [opened, synchronize, reopened, ready_for_review]
     branches:
       - master
 
 jobs:
+  JOB:
+    if: github.event.pull_request.draft == false
+
   check:
     name: Check
     runs-on: ubuntu-latest

+ 4 - 0
.github/workflows/windows.yml

@@ -10,10 +10,14 @@ on:
       - lib.rs
       - Cargo.toml
   pull_request:
+    types: [opened, synchronize, reopened, ready_for_review]
     branches:
       - master
 
 jobs:
+  JOB:
+    if: github.event.pull_request.draft == false
+
   test:
     runs-on: windows-latest
     name: (${{ matrix.target }}, ${{ matrix.cfg_release_channel }})