diff options
Diffstat (limited to '.github/workflows/tools_build.yml')
-rw-r--r-- | .github/workflows/tools_build.yml | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/.github/workflows/tools_build.yml b/.github/workflows/tools_build.yml index 6044cc0362..51091736d5 100644 --- a/.github/workflows/tools_build.yml +++ b/.github/workflows/tools_build.yml @@ -21,7 +21,12 @@ jobs: name: ${{ matrix.os }}-${{ matrix.compiler }} env: COMPILER: ${{ matrix.compiler }} - if: github.repository == 'azerothcore/azerothcore-wotlk' && !github.event.pull_request.draft + if: | + github.repository == 'azerothcore/azerothcore-wotlk' && !github.event.pull_request.draft + && ( + contains(github.event.pull_request.labels.*.name, 'run-build') + || github.event.label.name == 'run-build') + ) steps: - uses: actions/checkout@v4 - name: Cache |