From dc8d1a586ee3730c0715bf85544049b0d92b71c1 Mon Sep 17 00:00:00 2001 From: feihongxu0824 Date: Tue, 31 Mar 2026 20:33:35 +0800 Subject: [PATCH] ci: ignore draft or wip pull request (#285) --- .github/workflows/01-ci-pipeline.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/01-ci-pipeline.yml b/.github/workflows/01-ci-pipeline.yml index 32f6587..b6c924b 100644 --- a/.github/workflows/01-ci-pipeline.yml +++ b/.github/workflows/01-ci-pipeline.yml @@ -22,6 +22,10 @@ permissions: jobs: # Code quality checks (fast, run first) lint: + if: >- + github.event_name != 'pull_request' || + (!github.event.pull_request.draft && + !contains(github.event.pull_request.title, 'wip')) uses: ./.github/workflows/02-lint-check.yml # Main build and test matrix