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