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