With the recent addition of advanced logic in a config file, the option to conditionally trigger steps in a job or to conditionally trigger a workflow is now available.
Specific logic statements can be used to create multiple nested conditions, that will always at the top level result in true or false -- which in turn determines if the workflow or steps are triggered.
Type | Arguments | true if | Example |
---|---|---|---|
YAML literal | None | is truthy | true/42/"a string" |
YAML alias | None | resolves to a truthy value | *my-alias |