Skip to content
Proud to collaborate with Microsoft for Startups

github.push-check-auto-deploy ​

Check if auto-deploy should trigger and start spad.auto-deploy-push workflow

Check if auto-deploy should be triggered

Overview ​

PropertyValue
Workflow typeLinear
LibraryApp-github
Version1.0

Input Schema ​

FieldTypeRequiredDefaultDescription
is_deletedbooleanYes—Whether branch was deleted
repository_uuiduuidYes—Repository UUID
organization_uuidstringNo—Organization UUID (public)
push_record_uuiduuidYes—Push record UUID
branch_namestringYes—Branch name
workflow_run_idstringNo—Parent DAG run ID

Output Schema ​

FieldTypeRequiredDefaultDescription
triggered_workflow_refstringNo——
skippedbooleanNo——
skip_reasonstringNo——
workflow_run_idstringNo—Parent DAG run ID
failure_reasonstringNo——
failure_typestringNo——
failed_actionstringNo——
failed_at_statestringNo——
failed_stepstringNo——
failed_layerstringNo——
errorstringNo——
error_typestringNo——

States ​

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

State Diagram ​

Transitions ​

FromActionToDescription
pendingexecuteexecuting—
executingcompletecompleted—
* (any state)failfailed—

API Usage ​

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

{
  "workflow_type": "github.push-check-auto-deploy",
  "initial_data": {
    "is_deleted": true,
    "repository_uuid": "value",
    "push_record_uuid": "value",
    "branch_name": "value"
  }
}