steps
Reference for the steps variable in action placeholders and conditions.
Root steps (outbound only): steps of this run that have finished, keyed by step id. Empty when the run starts.
Uses: Context schema: last.
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?