From ec8b2d372950609a153def42cba8316c5338cbb5 Mon Sep 17 00:00:00 2001 From: usagizmo Date: Wed, 21 Oct 2026 03:52:06 +0900 Subject: [PATCH] =?UTF-8?q?=F0=9F=91=B7=20Skip=20CI=20on=20draft=20pull=20?= =?UTF-8?q?requests?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Run the pull_request workflow on ready_for_review in addition to the default types - Skip the check job while the pull request is a draft; push and workflow_dispatch run as before --- .github/workflows/main.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 303a280..4d80b91 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -7,6 +7,11 @@ on: pull_request: branches: - main + types: + - opened + - synchronize + - reopened + - ready_for_review workflow_dispatch: permissions: @@ -19,6 +24,7 @@ concurrency: jobs: check: name: Check + if: github.event_name != 'pull_request' || !github.event.pull_request.draft runs-on: ubuntu-latest timeout-minutes: 8