For the complete documentation index, see llms.txt. This page is also available as Markdown.

steps

Reference for the steps variable in action placeholders and conditions.

This page describes the steps variable: steps of this run that have finished, one of the variables you can use in {{ }} placeholders and conditions when you customize an action's YAML definition. It is available in steps, not in templated settings (such as a webhook body) (such as a webhook body) or inbound. Start with Actions → The 'steps' section for how the definition works.

Root steps (outbound only): steps of this run that have finished, keyed by step id. Empty when the run starts.

openapi: 3.1.0
info:
  title: ilert action context - steps
  version: 1.0.0
  description: >-
    Root `steps` (outbound only): steps of this run that have finished, keyed
    by step id. Empty when the run starts.
components:
  schemas:
    Steps:
      type: object
      additionalProperties:
        $ref: '#/components/schemas/StepResult'
    StepResult:
      type: object
      required: [status, responses]
      properties:
        status:
          type: string
          enum: [OK, SKIPPED, ERROR]
          description: >-
            `SKIPPED` when `when` was false or a step in `needs` did not end
            `OK`. Example: `steps.create-issue.status != 'OK'`.
        responses:
          type: object
          description: The step's responses keyed by request id.
          additionalProperties:
            $ref: './last.md#/components/schemas/Response'

Last updated

Was this helpful?