Closed msimon closed 6 months ago
The core.getInput return a string of length 0 when the value isn't defined. Then ''.split(',') returns ['']
core.getInput
''.split(',')
['']
Finally your if (excludedStatuses?.length) { always return 1 if excluded-statuses isn't defined.
if (excludedStatuses?.length) {
excluded-statuses
The
core.getInput
return a string of length 0 when the value isn't defined. Then''.split(',')
returns['']
Finally your
if (excludedStatuses?.length) {
always return 1 ifexcluded-statuses
isn't defined.