Skip to content

if · Step conditional execution

Execute a step conditionally based on the result of a templated expression.

yaml
- _: Say hi if more "wee" than "boo"
  if: ${Math.random() > 0.5}
  log: Bonjour, mes amis !

Any truthy value will cause the step to be executed.

Released under the MIT License.