From f1d006af4a2da12b3b72fa1aaf79238493df0f23 Mon Sep 17 00:00:00 2001 From: "Zhong, Ruijie" Date: Tue, 17 Dec 2024 03:37:59 +0000 Subject: [PATCH] add build label for windows --- .github/workflows/pull.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/pull.yml b/.github/workflows/pull.yml index d12ed5a4d..75b05e70f 100644 --- a/.github/workflows/pull.yml +++ b/.github/workflows/pull.yml @@ -8,6 +8,7 @@ on: - reopened - converted_to_draft - ready_for_review + - labeled branches: - main - release/* @@ -38,7 +39,7 @@ jobs: preci-windows: # Don't run on forked repos and draft PRs - if: ${{ (github.repository_owner == 'intel') && (github.event.pull_request.draft == false) }} + if: ${{ (github.repository_owner == 'intel') && (github.event.pull_request.draft == false) && (github.event.label.name == 'os:Windows')}} uses: ./.github/workflows/_windows_ut.yml with: ut: op_extended