summaryrefslogtreecommitdiff
path: root/.github/workflows/macos_build.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/macos_build.yml')
-rw-r--r--.github/workflows/macos_build.yml5
1 files changed, 4 insertions, 1 deletions
diff --git a/.github/workflows/macos_build.yml b/.github/workflows/macos_build.yml
index 5d58a15e69..984fe91326 100644
--- a/.github/workflows/macos_build.yml
+++ b/.github/workflows/macos_build.yml
@@ -20,7 +20,10 @@ jobs:
- macos-12
runs-on: ${{ matrix.os }}
name: ${{ matrix.os }}
- if: github.repository == 'azerothcore/azerothcore-wotlk' && (github.ref == 'refs/heads/master' || contains(github.event.pull_request.labels.*.name, 'run-build') || github.event.label.name == 'run-build')
+ if: |
+ github.repository == 'azerothcore/azerothcore-wotlk'
+ && !github.event.pull_request.draft
+ && (github.ref == 'refs/heads/master' || contains(github.event.pull_request.labels.*.name, 'run-build') || github.event.label.name == 'run-build')
steps:
- uses: actions/checkout@v2
- name: Cache