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