From b06dfc1127e31c391b333c3d75f80a72a0bfa0c7 Mon Sep 17 00:00:00 2001 From: gold-silver-copper <157451540+gold-silver-copper@users.noreply.github.com> Date: Wed, 18 Nov 2026 10:00:28 -0800 Subject: [PATCH] ci: skip draft PRs --- .github/workflows/ci.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6c737d5..65b6c7a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -4,10 +4,12 @@ on: push: branches: [main] pull_request: + types: [opened, synchronize, reopened, ready_for_review] branches: [main] jobs: lint: + if: github.event.pull_request.draft != true runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 @@ -17,7 +19,7 @@ jobs: test: # Fork PRs skip this job - if: github.event_name == 'push' || github.event.pull_request.head.repo.full_name == github.repository + if: github.event_name == 'push' || (github.event.pull_request.head.repo.full_name == github.repository && github.event.pull_request.draft != true) runs-on: ubuntu-latest steps: - uses: actions/checkout@v4