diff options
author | Calum Lind <calumlind+deluge@gmail.com> | 2022-01-21 12:20:37 +0000 |
---|---|---|
committer | Calum Lind <calumlind+deluge@gmail.com> | 2022-01-21 12:53:54 +0000 |
commit | 5931d0cc0b346eef9a072fd4e0c29341c4fca28c (patch) | |
tree | bb0bba6bb96c2c3e7899c99ef00a16f7cc3c9813 | |
parent | 9d4ca77ef7ebf1b3e39b837a0f31cec3da110760 (diff) | |
download | deluge-5931d0cc0b346eef9a072fd4e0c29341c4fca28c.tar.gz deluge-5931d0cc0b346eef9a072fd4e0c29341c4fca28c.tar.bz2 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
-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] |