Interface TriggerWorkflowData

Request body for triggering a workflow dispatch event.

interface TriggerWorkflowData {
    inputs?: Record<string, string>;
    ref: string;
}

Properties

Properties

inputs?: Record<string, string>

Input keys and values for the workflow (must be defined in the workflow on.workflow_dispatch.inputs)

ref: string

The branch or tag name to trigger the workflow on (required)