mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-13 09:17:18 +00:00
feat(CI): run pr builds on label (#6241)
This commit is contained in:
6
.github/workflows/docker_build.yml
vendored
6
.github/workflows/docker_build.yml
vendored
@@ -3,15 +3,15 @@ on:
|
||||
push:
|
||||
branches:
|
||||
- 'master'
|
||||
pull_request_review:
|
||||
types: [submitted]
|
||||
pull_request:
|
||||
types: ['labeled']
|
||||
|
||||
jobs:
|
||||
docker-build-n-deploy:
|
||||
strategy:
|
||||
fail-fast: true
|
||||
runs-on: ubuntu-20.04
|
||||
if: github.repository == 'azerothcore/azerothcore-wotlk'
|
||||
if: github.repository == 'azerothcore/azerothcore-wotlk && ${{ github.event.label.name == 'run-build' }}'
|
||||
env:
|
||||
COMPOSE_DOCKER_CLI_BUILD: 1
|
||||
DOCKER_BUILDKIT: 1
|
||||
|
||||
6
.github/workflows/macos_build.yml
vendored
6
.github/workflows/macos_build.yml
vendored
@@ -3,8 +3,8 @@ on:
|
||||
push:
|
||||
branches:
|
||||
- 'master'
|
||||
pull_request_review:
|
||||
types: [submitted]
|
||||
pull_request:
|
||||
types: ['labeled']
|
||||
|
||||
jobs:
|
||||
macos-build:
|
||||
@@ -16,7 +16,7 @@ jobs:
|
||||
# - macos-11.0
|
||||
runs-on: ${{ matrix.os }}
|
||||
name: ${{ matrix.os }}
|
||||
if: github.repository == 'azerothcore/azerothcore-wotlk'
|
||||
if: github.repository == 'azerothcore/azerothcore-wotlk && ${{ github.event.label.name == 'run-build' }}'
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Cache
|
||||
|
||||
6
.github/workflows/windows_build.yml
vendored
6
.github/workflows/windows_build.yml
vendored
@@ -3,8 +3,8 @@ on:
|
||||
push:
|
||||
branches:
|
||||
- 'master'
|
||||
pull_request_review:
|
||||
types: [submitted]
|
||||
pull_request:
|
||||
types: ['labeled']
|
||||
|
||||
jobs:
|
||||
windows-build:
|
||||
@@ -14,7 +14,7 @@ jobs:
|
||||
name: windows-2019-MSVC16
|
||||
env:
|
||||
BOOST_ROOT: C:\local\boost_1_74_0
|
||||
if: github.repository == 'azerothcore/azerothcore-wotlk'
|
||||
if: github.repository == 'azerothcore/azerothcore-wotlk && ${{ github.event.label.name == 'run-build' }}'
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Configure OS
|
||||
|
||||
Reference in New Issue
Block a user