diff --git a/.github/workflows/build-cpu.yml b/.github/workflows/build-cpu.yml index 1ab3b620b..018020b3f 100644 --- a/.github/workflows/build-cpu.yml +++ b/.github/workflows/build-cpu.yml @@ -23,14 +23,14 @@ on: branches: - master pull_request: - branches: - - master + types: [labeled] env: BUILD_TYPE: Release jobs: build-cpu: + if: ${{ github.event.label.name == 'ready' }} runs-on: ${{ matrix.os }} strategy: fail-fast: false diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index f15af6452..38781b432 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -23,14 +23,14 @@ on: branches: - master pull_request: - branches: - - master + types: [labeled] env: BUILD_TYPE: Release jobs: build: + if: ${{ github.event.label.name == 'ready' }} runs-on: ${{ matrix.os }} strategy: fail-fast: false diff --git a/.github/workflows/run-tests-cpu.yml b/.github/workflows/run-tests-cpu.yml index e0e260c7d..e730a4dcc 100644 --- a/.github/workflows/run-tests-cpu.yml +++ b/.github/workflows/run-tests-cpu.yml @@ -23,11 +23,11 @@ on: branches: - master pull_request: - branches: - - master + types: [labeled] jobs: run-tests-cpu: + if: ${{ github.event.label.name == 'ready' }} runs-on: ${{ matrix.os }} strategy: fail-fast: false diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index b145405d6..fbf8fb18c 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -23,11 +23,11 @@ on: branches: - master pull_request: - branches: - - master + types: [labeled] jobs: run-tests: + if: ${{ github.event.label.name == 'ready' }} runs-on: ${{ matrix.os }} strategy: fail-fast: false diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index d3b723ab0..27a509c6f 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -22,8 +22,7 @@ on: branches: - master pull_request: - branches: - - master + types: [labeled] env: BUILD_TYPE: Release @@ -31,6 +30,7 @@ env: jobs: build-windows: # see https://github.com/actions/virtual-environments/blob/win19/20210525.0/images/win/Windows2019-Readme.md + if: ${{ github.event.label.name == 'ready' }} runs-on: ${{ matrix.os }} strategy: fail-fast: false