From 4c2a59c381fc7836bde841e7e335d46fb837c27e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stefan=20Str=C3=B6mer?= <8915976+sstroemer@users.noreply.github.com> Date: Mon, 28 Oct 2024 13:17:32 +0100 Subject: [PATCH] chore: do not run CI on draft status PRs --- .github/workflows/CI.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index a7ee8e6..2620f2b 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -5,6 +5,7 @@ on: - main tags: ['*'] pull_request: + types: [review_requested, ready_for_review] workflow_dispatch: concurrency: # Skip intermediate builds: always. @@ -14,6 +15,7 @@ concurrency: jobs: test: name: Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }} - ${{ github.event_name }} + if: github.event.pull_request.draft == false runs-on: ${{ matrix.os }} timeout-minutes: 60 permissions: # needed to allow julia-actions/cache to proactively delete old caches that it has created