summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorsudlud <sudlud@users.noreply.github.com>2024-12-22 09:02:15 +0100
committerGitHub <noreply@github.com>2024-12-22 09:02:15 +0100
commitebf7f7583bb32d03e120208a87d4092f462aa0f2 (patch)
tree48454fa0754ee9e0fd425b13656d6f0d747764bf /.github
parentf011cbb60284109c2a66f042f34caa110cd961f3 (diff)
fix(CI): do not run on draft PRs (#21009)
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/codestyle.yml2
-rw-r--r--.github/workflows/core-build-nopch.yml2
-rw-r--r--.github/workflows/core_modules_build.yml2
-rw-r--r--.github/workflows/pr_labeler.yml2
-rw-r--r--.github/workflows/sql-codestyle.yml2
5 files changed, 5 insertions, 5 deletions
diff --git a/.github/workflows/codestyle.yml b/.github/workflows/codestyle.yml
index 74f9320504..f30e533752 100644
--- a/.github/workflows/codestyle.yml
+++ b/.github/workflows/codestyle.yml
@@ -10,7 +10,7 @@ jobs:
triage:
runs-on: ubuntu-latest
name: C++
- if: github.repository == 'azerothcore/azerothcore-wotlk'
+ if: github.repository == 'azerothcore/azerothcore-wotlk' && !github.event.pull_request.draft
steps:
- uses: actions/checkout@v4
- name: Setup python
diff --git a/.github/workflows/core-build-nopch.yml b/.github/workflows/core-build-nopch.yml
index a72f9c6cc3..e64fbffcc0 100644
--- a/.github/workflows/core-build-nopch.yml
+++ b/.github/workflows/core-build-nopch.yml
@@ -33,7 +33,7 @@ jobs:
CXX: g++-14
runs-on: ${{ matrix.os }}
name: ${{ matrix.os }}-${{ matrix.compiler.CC }}-nopch
- if: github.repository == 'azerothcore/azerothcore-wotlk'
+ if: github.repository == 'azerothcore/azerothcore-wotlk' && !github.event.pull_request.draft
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/linux-build
diff --git a/.github/workflows/core_modules_build.yml b/.github/workflows/core_modules_build.yml
index 2516de27e3..440225a08d 100644
--- a/.github/workflows/core_modules_build.yml
+++ b/.github/workflows/core_modules_build.yml
@@ -31,7 +31,7 @@ jobs:
CXX: clang++-18
runs-on: ${{ matrix.os }}
name: ${{ matrix.os }}-${{ matrix.compiler.CC }}-nopch-modules
- if: github.repository == 'azerothcore/azerothcore-wotlk'
+ if: github.repository == 'azerothcore/azerothcore-wotlk' && !github.event.pull_request.draft
steps:
- uses: actions/checkout@v4
# This script installs a general list of modules to compile with
diff --git a/.github/workflows/pr_labeler.yml b/.github/workflows/pr_labeler.yml
index 21b73fc842..1c3632972a 100644
--- a/.github/workflows/pr_labeler.yml
+++ b/.github/workflows/pr_labeler.yml
@@ -6,7 +6,7 @@ jobs:
triage:
runs-on: ubuntu-24.04
permissions: write-all
- if: github.repository == 'azerothcore/azerothcore-wotlk'
+ if: github.repository == 'azerothcore/azerothcore-wotlk' && !github.event.pull_request.draft
steps:
- uses: actions/checkout@v4
with:
diff --git a/.github/workflows/sql-codestyle.yml b/.github/workflows/sql-codestyle.yml
index cfd83fe073..a020887160 100644
--- a/.github/workflows/sql-codestyle.yml
+++ b/.github/workflows/sql-codestyle.yml
@@ -10,7 +10,7 @@ jobs:
triage:
runs-on: ubuntu-latest
name: SQL
- if: github.repository == 'azerothcore/azerothcore-wotlk'
+ if: github.repository == 'azerothcore/azerothcore-wotlk' && !github.event.pull_request.draft
steps:
- uses: actions/checkout@v4
- name: Check pending SQL