-
Why doesn’t this work:
It evaluates to falsy if I’m using this logic to be able to use the dispatch inputs or the cron schedule. My use case is that I want the workflow to be driven either by cron or by manual trigger. If it’s running in ccron job, it should default back to the env default set at the top of the YAML file. If it’s run manually, I only care about what the output of I don’t even know if this syntax is possible, but this would be WRONG:
If this was Python (for example) I would have typed something like this:
I’m trying to cram ^ that logic into the |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Can I close my topic? After posting, I finally figured out a solution. …based on this: Workflow_dispatch and schedule with inputs Now I can get exactly what I want and don’t need to confront the “weirdness” of using |
Beta Was this translation helpful? Give feedback.
Can I close my topic?
After posting, I finally figured out a solution. …based on this: Workflow_dispatch and schedule with inputs
Now I can get exactly what I want and don’t need to confront the “weirdness” of using
contains(SOME || OTHER, 'string')
.