Don't run CI on draft PRs (#527)

This commit is contained in:
Ethan Pippin 2022-08-12 23:15:41 -06:00 committed by GitHub
parent 6f937ceddd
commit 8911ef9ec8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 9 additions and 1 deletions

View File

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

View File

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