Skip to content

Conversation

@cwaldren-ld
Copy link
Contributor

@cwaldren-ld cwaldren-ld commented Jan 9, 2024

Step outputs are cast to strings. So false == 'false', and true == 'true'.

Right now the 'false' is output from release-please's prs_created. And in an expression, that is evaluated as true. Because it's a non-empty string, I think?

Instead, compare against the actual string 'true'.

@cwaldren-ld cwaldren-ld marked this pull request as ready for review January 9, 2024 17:12
@cwaldren-ld cwaldren-ld requested a review from a team January 9, 2024 17:12
@cwaldren-ld cwaldren-ld merged commit b98dc99 into main Jan 9, 2024
@cwaldren-ld cwaldren-ld deleted the cw/boolean-insanity branch January 9, 2024 17:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants