Don't run CI on draft PRs (#527)
This commit is contained in:
parent
6f937ceddd
commit
8911ef9ec8
|
@ -4,11 +4,15 @@ on:
|
|||
push:
|
||||
branches: [ main ]
|
||||
pull_request:
|
||||
types:
|
||||
- synchronize
|
||||
- ready_for_review
|
||||
branches: [ main ]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
name: ""
|
||||
name: "Build 🔨"
|
||||
if: github.event.pull_request.draft == false
|
||||
strategy:
|
||||
matrix:
|
||||
scheme:
|
||||
|
|
|
@ -2,11 +2,15 @@ name: "Lint 🧹"
|
|||
|
||||
on:
|
||||
pull_request:
|
||||
types:
|
||||
- synchronize
|
||||
- ready_for_review
|
||||
branches: [ main ]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
name: "Lint 🧹"
|
||||
if: github.event.pull_request.draft == false
|
||||
runs-on: macos-12
|
||||
|
||||
steps:
|
||||
|
|
Loading…
Reference in New Issue