ci: disable on draft prs

This commit is contained in:
Jonathan Kelley 2022-02-13 12:40:25 -05:00
parent e06f6dc030
commit 542b48a59c
3 changed files with 11 additions and 0 deletions

View file

@ -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

View file

@ -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

View file

@ -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 }})