浏览代码

Dont run matrix on draft

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

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

@@ -173,6 +173,7 @@ jobs:
 
   matrix_test:
     runs-on: ${{ matrix.platform.os }}
+    if: github.event.pull_request.draft == false
     env:
       RUST_CARGO_COMMAND: ${{ matrix.platform.cross == true && 'cross' || 'cargo' }}
     strategy: