From 0e7c18656cc87f0375214ceaf29813fda9bcf087 Mon Sep 17 00:00:00 2001 From: Palash Tyagi <23239946+Magnus167@users.noreply.github.com> Date: Sun, 4 May 2025 01:27:21 +0100 Subject: [PATCH] Add condition to pick-runner job to ensure it only runs for non-draft pull requests --- .github/workflows/run-unit-tests.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/run-unit-tests.yml b/.github/workflows/run-unit-tests.yml index c6e2f91..7563add 100644 --- a/.github/workflows/run-unit-tests.yml +++ b/.github/workflows/run-unit-tests.yml @@ -12,6 +12,7 @@ concurrency: jobs: pick-runner: + if: github.event.pull_request.draft == false runs-on: ubuntu-latest outputs: runner: ${{ steps.choose.outputs.use-runner }}