fix(CI): re-run builds if label is present (#9114)
This commit is contained in:
parent
06bc64d1c3
commit
c519dc5738
6 changed files with 11 additions and 11 deletions
4
.github/workflows/windows_build.yml
vendored
4
.github/workflows/windows_build.yml
vendored
|
|
@ -4,7 +4,7 @@ on:
|
|||
branches:
|
||||
- 'master'
|
||||
pull_request:
|
||||
types: ['labeled']
|
||||
types: ['labeled', 'labeled', 'opened', 'synchronize', 'reopened']
|
||||
|
||||
concurrency:
|
||||
group: ${{ github.head_ref }} || concat(${{ github.ref }}, ${{ github.workflow }})
|
||||
|
|
@ -20,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' || github.ref == 'refs/heads/master')
|
||||
if: github.repository == 'azerothcore/azerothcore-wotlk' && (github.ref == 'refs/heads/master' || contains(github.event.pull_request.labels.*.name, 'file-cpp') || github.event.label.name == 'file-cpp' || contains(github.event.pull_request.labels.*.name, 'run-build') || github.event.label.name == 'run-build')
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Configure OS
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue