summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorsudlud <sudlud@users.noreply.github.com>2024-12-21 22:44:12 +0100
committerGitHub <noreply@github.com>2024-12-21 22:44:12 +0100
commit99e5d73beb6fa03c0f78fda978a61e1e7a33c1a7 (patch)
tree097c1d9433ac08055a03be0f209c3fa5d66c7b17 /.github
parentd2b88bdc1e851bc758cbf0fbd79ea742e29417a0 (diff)
feat(CI/modules_build): trigger on file change instead label (#20997)
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/core_modules_build.yml23
1 files changed, 10 insertions, 13 deletions
diff --git a/.github/workflows/core_modules_build.yml b/.github/workflows/core_modules_build.yml
index a0381601dc..2516de27e3 100644
--- a/.github/workflows/core_modules_build.yml
+++ b/.github/workflows/core_modules_build.yml
@@ -4,11 +4,16 @@ on:
branches:
- 'master'
pull_request:
- types:
- - labeled
- - opened
- - reopened
- - synchronize
+ paths:
+ - 'src/*'
+ - 'src/common/**/*'
+ - 'src/genrev/**/*'
+ - 'src/server/*'
+ - 'src/server/apps/**/*'
+ - 'src/server/database/**/*'
+ - 'src/server/game/**/*'
+ - 'src/server/shared/**/*'
+ - 'src/tools/**/*'
concurrency:
group: ${{ github.head_ref }} || concat(${{ github.ref }}, ${{ github.workflow }})
@@ -27,14 +32,6 @@ jobs:
runs-on: ${{ matrix.os }}
name: ${{ matrix.os }}-${{ matrix.compiler.CC }}-nopch-modules
if: github.repository == 'azerothcore/azerothcore-wotlk'
- && !github.event.pull_request.draft
- && (
- github.ref_name == 'master'
- || contains(github.event.pull_request.labels.*.name, 'file-cpp'
- || github.event.label.name == 'file-cpp'
- || contains(github.event.pull_request.labels.*.name, 'run-build')
- || github.event.label.name == 'run-build')
- )
steps:
- uses: actions/checkout@v4
# This script installs a general list of modules to compile with