Skip to content
Proud to collaborate with Microsoft for Startups

github.actions.trigger_workflow ​

Trigger a GitHub Actions workflow_dispatch run through an installed GitHub App connection.

Overview ​

PropertyValue
Workflow typeAtomic
LibraryApp-github
Version1.0

Input Schema ​

FieldTypeRequiredDefaultDescription
organization_uuiduuidYes—Organization UUID
actorstringNo—Actor initiating the workflow
workflow_run_idstringNo—Parent workflow run id
dry_runbooleanNo—Validate and plan without calling GitHub
repositorystringYes—Repository owner/name
workflowstringYes—Workflow file name (e.g. build-and-push-images.yml) or numeric workflow id
refstringNo—Git ref (branch or tag) to run from; defaults to the repo's default branch
inputsdictNo—workflow_dispatch inputs (JSON object) passed to the run

Output Schema ​

FieldTypeRequiredDefaultDescription
statusstringNo—planned, dispatched, or failed
repositorystringNo——
workflowstringNo——
refstringNo——
inputsdictNo——
appliedbooleanNo——
dry_runbooleanNo——
warningslistNo——
failure_reasonstringNo——
failed_stepstringNo——
failed_layerstringNo——
failed_at_statestringNo——
errorstringNo——
error_typestringNo——
failed_atstringNo——

States ​

StateInitialTerminalSuccessAuto-advanceDescription
pendingYesNo—execute—
completedNoYesYes——
failedNoYesNo——

State Diagram ​

Transitions ​

FromActionToDescription
pendingexecutecompleted—
* (any state)failfailed—

API Usage ​

bash
POST /api/workflows/start
Content-Type: application/json

{
  "workflow_type": "github.actions.trigger_workflow",
  "initial_data": {
    "organization_uuid": "value",
    "repository": "value",
    "workflow": "value"
  }
}