From 27358a2a89ebc6328e913838f7345f8ecdaadb9b Mon Sep 17 00:00:00 2001 From: stackchain <30806844+stackchain@users.noreply.github.com> Date: Mon, 18 Nov 2024 22:26:43 +0300 Subject: [PATCH] chore: smart workflow - ignore drafts --- .github/workflows/nightly.yml | 2 ++ .github/workflows/wallet-mobile-checks.yml | 2 ++ 2 files changed, 4 insertions(+) diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml index aa88fd49fb..07615440fc 100644 --- a/.github/workflows/nightly.yml +++ b/.github/workflows/nightly.yml @@ -5,6 +5,8 @@ on: jobs: build: + if: github.event.pull_request.draft == false + runs-on: macos-13 steps: - uses: maxim-lobanov/setup-xcode@v1 diff --git a/.github/workflows/wallet-mobile-checks.yml b/.github/workflows/wallet-mobile-checks.yml index 70351c0c84..ed49fedcd1 100644 --- a/.github/workflows/wallet-mobile-checks.yml +++ b/.github/workflows/wallet-mobile-checks.yml @@ -8,6 +8,8 @@ defaults: jobs: check: + if: github.event.pull_request.draft == false + runs-on: ubuntu-latest steps: - uses: actions/checkout@v3