Skip to content

Workflow fails with dash ("-") in the conditional when statement #11331

Closed Answered by agilgur5
tcherokee asked this question in Q&A
Discussion options

You must be logged in to vote

Have you tried embedding an expr expression as suggested at the bottom of the Conditionals page?

i.e. when: "{{=workflow.parameters.repo_name == 'games-api-example'}}"

Note that govaluate is on the way out per #7831, but has been deferred for a bit as it would be a breaking change

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@agilgur5
Comment options

Answer selected by agilgur5
@bumper-jorge-pino
Comment options

@agilgur5
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
area/templating Templating with `{{...}}` type/support User support issue - likely not a bug
3 participants