From f270fd6d19dcccf79fb382b46e37e00b5b6966e9 Mon Sep 17 00:00:00 2001 From: munechika-koyo Date: Fri, 17 Oct 2025 11:26:15 +0200 Subject: [PATCH 1/2] Enhance CI workflow to include draft pull request checks --- .github/workflows/ci.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index da0d082c..e2f913f9 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -3,9 +3,15 @@ name: CI on: push: pull_request: + types: + - opened + - synchronize + - reopened + - ready_for_review jobs: tests: + if: ${{ !github.event.pull_request.draft }} name: Run tests runs-on: ubuntu-22.04 # Needed for Python 3.7 compatibility strategy: From 2271d14d2f71a0993d4e45083a03085ce0f38c0e Mon Sep 17 00:00:00 2001 From: munechika-koyo Date: Fri, 17 Oct 2025 11:32:28 +0200 Subject: [PATCH 2/2] Update CI workflow to run tests on push events in addition to non-draft pull requests --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e2f913f9..f06c406e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -11,7 +11,7 @@ on: jobs: tests: - if: ${{ !github.event.pull_request.draft }} + if: ${{ github.event_name == 'push' || !github.event.pull_request.draft }} name: Run tests runs-on: ubuntu-22.04 # Needed for Python 3.7 compatibility strategy: