From d8ad098372e19ef3d2f3545a3a8bb3f0abe478a1 Mon Sep 17 00:00:00 2001 From: Patrick Lewis Date: Fri, 5 Nov 2021 00:59:29 -0700 Subject: [PATCH] fix(CI): run-build label (#8966) --- .github/workflows/docker_build.yml | 3 ++- .github/workflows/macos_build.yml | 3 ++- .github/workflows/windows_build.yml | 3 ++- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/docker_build.yml b/.github/workflows/docker_build.yml index 74df29d11..5d3b98b2d 100644 --- a/.github/workflows/docker_build.yml +++ b/.github/workflows/docker_build.yml @@ -4,6 +4,7 @@ on: branches: - 'master' pull_request: + types: ['labeled'] concurrency: group: ${{ github.head_ref }} || concat(${{ github.ref }}, ${{ github.workflow }}) @@ -16,7 +17,7 @@ jobs: matrix: os: [ubuntu-20.04] runs-on: ${{ matrix.os }} - if: github.repository == 'azerothcore/azerothcore-wotlk' && ${{ github.event.label.name == 'run-build' }} + if: github.repository == 'azerothcore/azerothcore-wotlk' && github.event.label.name == 'run-build' env: COMPOSE_DOCKER_CLI_BUILD: 1 DOCKER_BUILDKIT: 1 diff --git a/.github/workflows/macos_build.yml b/.github/workflows/macos_build.yml index 3ee93375a..ae37036df 100644 --- a/.github/workflows/macos_build.yml +++ b/.github/workflows/macos_build.yml @@ -4,6 +4,7 @@ on: branches: - 'master' pull_request: + types: ['labeled'] concurrency: group: ${{ github.head_ref }} || concat(${{ github.ref }}, ${{ github.workflow }}) @@ -19,7 +20,7 @@ jobs: - macos-11 runs-on: ${{ matrix.os }} name: ${{ matrix.os }} - if: github.repository == 'azerothcore/azerothcore-wotlk' && ${{ github.event.label.name == 'run-build' }} + if: github.repository == 'azerothcore/azerothcore-wotlk' && github.event.label.name == 'run-build' steps: - uses: actions/checkout@v2 - name: Cache diff --git a/.github/workflows/windows_build.yml b/.github/workflows/windows_build.yml index ded0c382a..08d24082e 100644 --- a/.github/workflows/windows_build.yml +++ b/.github/workflows/windows_build.yml @@ -4,6 +4,7 @@ on: branches: - 'master' pull_request: + types: ['labeled'] concurrency: group: ${{ github.head_ref }} || concat(${{ github.ref }}, ${{ github.workflow }}) @@ -19,7 +20,7 @@ jobs: name: ${{ matrix.os }}-MSVC16 env: BOOST_ROOT: C:\local\boost_1_74_0 - if: github.repository == 'azerothcore/azerothcore-wotlk' && ${{ github.event.label.name == 'run-build' }} + if: github.repository == 'azerothcore/azerothcore-wotlk' && github.event.label.name == 'run-build' steps: - uses: actions/checkout@v2 - name: Configure OS