From 5931d0cc0b346eef9a072fd4e0c29341c4fca28c Mon Sep 17 00:00:00 2001 From: Calum Lind Date: Fri, 21 Jan 2022 12:20:37 +0000 Subject: [CI] Fix package job not running with PR label The job would only run when the PR was labeled since `github.event.label.name` only available when `labeled` type event recieved --- .github/workflows/cd.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '.github') diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index ce2071912..2face5d00 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -16,7 +16,7 @@ on: jobs: windows_package: runs-on: windows-2019 - if: (github.event_name != 'pull_request' || github.event.label.name == 'windows') + if: (github.event_name != 'pull_request' || contains(github.event.pull_request.labels.*.name, 'package')) strategy: matrix: arch: [x64, x86] -- cgit v1.2.3