From 877fe789411aa45e9916d23028e972694a615ad4 Mon Sep 17 00:00:00 2001 From: Marian Rudzynski Date: Sun, 23 Jun 2024 10:25:57 -0700 Subject: [PATCH] skip rspec on draft prs, too --- .github/workflows/test.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 2fe5c54..128a608 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -2,6 +2,11 @@ name: Test on: pull_request: + types: + - opened + - reopened + - synchronize + - ready_for_review push: branches: - main @@ -26,6 +31,7 @@ jobs: with: fail_ci_if_error: true rspec: + if: github.event.pull_request.draft == false runs-on: ubuntu-latest strategy: matrix: