From 16e9eccf42179b626bc84d0bd3f3bb91da6e3dc1 Mon Sep 17 00:00:00 2001 From: Milica Spasenovic Date: Wed, 14 Jan 2026 10:12:46 +0100 Subject: [PATCH 1/2] Make GitHub actions not run on drafted PRs #427 --- .github/workflows/test.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 54b290e9..325dd8a5 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -4,9 +4,8 @@ on: push: branches: - main - pull_request: - branches: - - '**' + pull_request_review: + types: [submitted] env: HUSKY: 0 From db6ccf9d1c67d1f98d972b6d77b164d631706edf Mon Sep 17 00:00:00 2001 From: Milica Spasenovic Date: Wed, 14 Jan 2026 10:20:59 +0100 Subject: [PATCH 2/2] Add condition to skip tests for draft pull requests --- .github/workflows/test.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 325dd8a5..2d94619b 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -12,6 +12,7 @@ env: jobs: test-and-coverage: + if: github.event.pull_request.draft == false runs-on: ubuntu-latest steps: - name: Checkout code