mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-12-18 11:00:25 +00:00
ci: github.event.pull_request.merged
is a boolean, not a string
With the updates to the pull-request-commenter, all strings were placed within `'` to prevent syntax issues. It seems that `github.event.pull_request.merged` really is a boolean (or `null`), and not a string. Doc: https://docs.github.com/en/webhooks-and-events/ ("payloads" section) Signed-off-by: Niels de Vos <ndevos@ibm.com>
This commit is contained in:
parent
b804181a3d
commit
360df61eb0
@ -13,7 +13,7 @@ jobs:
|
||||
add-comment:
|
||||
if: >
|
||||
(github.event.pull_request.label == 'ok-to-test' &&
|
||||
github.event.pull_request.merged != 'true') ||
|
||||
github.event.pull_request.merged != true) ||
|
||||
(github.event.pull_request.action == 'opened' &&
|
||||
contains(github.event.pull_request.labels.*.name,'ok-to-test'))
|
||||
runs-on: ubuntu-latest
|
||||
|
Loading…
Reference in New Issue
Block a user