diff options
author | Calum Lind <calumlind+deluge@gmail.com> | 2022-01-21 13:20:37 +0100 |
---|---|---|
committer | Calum Lind <calumlind+deluge@gmail.com> | 2022-01-21 13:53:54 +0100 |
commit | 5931d0cc0b346eef9a072fd4e0c29341c4fca28c (patch) | |
tree | bb0bba6bb96c2c3e7899c99ef00a16f7cc3c9813 /.github | |
parent | [CI] Cleanup packaging dependencies (diff) | |
download | deluge-5931d0cc0b346eef9a072fd4e0c29341c4fca28c.tar.xz deluge-5931d0cc0b346eef9a072fd4e0c29341c4fca28c.zip |
[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
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/cd.yml | 2 |
1 files changed, 1 insertions, 1 deletions
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] |