[CI] Update job conditions for GitHub CI workflows (#10641)

This commit is contained in:
Shamil Mubarakshin
2024-09-18 16:42:09 +02:00
committed by GitHub
parent 5d31cfb3b9
commit fd6c45b8e8
5 changed files with 5 additions and 5 deletions

View File

@@ -13,7 +13,7 @@ defaults:
jobs: jobs:
Ubuntu_2004: Ubuntu_2004:
if: contains(github.event.pull_request.labels.*.name, 'CI ubuntu-all') || contains(github.event.pull_request.labels.*.name, 'CI ubuntu-2004') if: github.event.label.name == 'CI ubuntu-all' || github.event.label.name == 'CI ubuntu-2004'
uses: ./.github/workflows/trigger-ubuntu-win-build.yml uses: ./.github/workflows/trigger-ubuntu-win-build.yml
with: with:
image_type: 'ubuntu2004' image_type: 'ubuntu2004'

View File

@@ -13,7 +13,7 @@ defaults:
jobs: jobs:
Ubuntu_2204: Ubuntu_2204:
if: contains(github.event.pull_request.labels.*.name, 'CI ubuntu-all') || contains(github.event.pull_request.labels.*.name, 'CI ubuntu-2204') if: github.event.label.name == 'CI ubuntu-all' || github.event.label.name == 'CI ubuntu-2204'
uses: ./.github/workflows/trigger-ubuntu-win-build.yml uses: ./.github/workflows/trigger-ubuntu-win-build.yml
with: with:
image_type: 'ubuntu2204' image_type: 'ubuntu2204'

View File

@@ -13,7 +13,7 @@ defaults:
jobs: jobs:
Ubuntu_2404: Ubuntu_2404:
if: contains(github.event.pull_request.labels.*.name, 'CI ubuntu-all') || contains(github.event.pull_request.labels.*.name, 'CI ubuntu-2404') if: github.event.label.name == 'CI ubuntu-all' || github.event.label.name == 'CI ubuntu-2404'
uses: ./.github/workflows/trigger-ubuntu-win-build.yml uses: ./.github/workflows/trigger-ubuntu-win-build.yml
with: with:
image_type: 'ubuntu2404' image_type: 'ubuntu2404'

View File

@@ -13,7 +13,7 @@ defaults:
jobs: jobs:
Windows_2019: Windows_2019:
if: contains(github.event.pull_request.labels.*.name, 'CI windows-all') || contains(github.event.pull_request.labels.*.name, 'CI windows-2019') if: github.event.label.name == 'CI windows-all' || github.event.label.name == 'CI windows-2019'
uses: ./.github/workflows/trigger-ubuntu-win-build.yml uses: ./.github/workflows/trigger-ubuntu-win-build.yml
with: with:
image_type: 'windows2019' image_type: 'windows2019'

View File

@@ -13,7 +13,7 @@ defaults:
jobs: jobs:
Windows_2022: Windows_2022:
if: contains(github.event.pull_request.labels.*.name, 'CI windows-all') || contains(github.event.pull_request.labels.*.name, 'CI windows-2022') if: github.event.label.name == 'CI windows-all' || github.event.label.name == 'CI windows-2022'
uses: ./.github/workflows/trigger-ubuntu-win-build.yml uses: ./.github/workflows/trigger-ubuntu-win-build.yml
with: with:
image_type: 'windows2022' image_type: 'windows2022'