Skip to content

or

OR condition. Conditions are evaluated in order, and at least one must be true.

Configuration

List of elements of type:

  • config - JSON - required - Configuration for the condition

  • name - String - required - Identifier of the condition

Example

name: or
config:
   - name: branch
     config: main
   - name: environment-regex:
     config:
        name: VERSION
        regex: '\d+\.\d+\.\d+'