From 788b993079a59e35128bdc992b4c4218142b2533 Mon Sep 17 00:00:00 2001 From: Stephen Hulme Date: Mon, 7 Oct 2024 09:48:10 +0100 Subject: [PATCH] build: only run version check when PR is not draft --- .github/workflows/check_release_version.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/check_release_version.yml b/.github/workflows/check_release_version.yml index 83fc603b7..d85e1525f 100644 --- a/.github/workflows/check_release_version.yml +++ b/.github/workflows/check_release_version.yml @@ -16,6 +16,8 @@ on: jobs: check: runs-on: ubuntu-latest + # only run when PR is not draft + if: ${{ !github.event.pull_request.draft }} steps: - uses: actions/checkout@v4