feat(CI): run pr builds on label (#6241)

This commit is contained in:
Patrick Lewis
2021-06-08 22:07:34 -07:00
committed by GitHub
parent 6918fdd999
commit 28664a2f9b
3 changed files with 9 additions and 9 deletions

View File

@@ -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