Closed abaran30 closed 2 years ago
@meeroslav let us know what you think!
Hi @adbaran1, thank you for reporting the issue and proposing the fix. And sorry for the delay in responding.
You are right, both errorOnNoSuccessfulWorkflow
and allowOnHoldWorkflow
are handled incorrectly.
…r 1 in the script.
This pull request fixes a bug with the new param
allow-on-hold-workflow
. Because it is a boolean, in the script, it will have a value of'0'
or '1
'.I did a simple test in a personal CircleCI workflow and verified param setting with the following:
@meeroslav, question, I see that the script contains conditional
if (errorOnNoSuccessfulWorkflow === 'true') {
; has this been verified to work? I followed this example when creatingallowOnHoldWorkflow
as these two params are booleans. Let me know if we should change theerrorOnNoSuccessfulWorkflow
conditional to check if=== '1'
.