Skip to content
Proud to collaborate with Microsoft for Startups

github.repository-validate ​

Validate repository event payload and extract repository data

Validate repository webhook payload and extract data

Overview ​

PropertyValue
Workflow typeAtomic
LibraryApp-github
Version1.0

Input Schema ​

FieldTypeRequiredDefaultDescription
delivery_refstringYes—Webhook delivery ID
event_typestringYes—Webhook event type
actionstringYes—Webhook action
payloaddictYes—Webhook payload
organization_uuidstringNo—Organization UUID (public)
workflow_run_idstringNo—Parent DAG run ID

Output Schema ​

FieldTypeRequiredDefaultDescription
delivery_refstringNo—Webhook delivery ID
event_typestringNo—Webhook event type
actionstringNo—Webhook action
github_repo_refintegerNo—GitHub repository ID
installation_datadictNo—Installation data from payload
organization_uuidstringNo—Organization UUID (public)
action_typestringNo—Mapped sync type
repo_datadictNo—Repository data from payload
installation_uuidstringNo—Installation UUID
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—
completedNoYesYes——
failedNoYesNo——

State Diagram ​

Transitions ​

FromActionToDescription
pendingexecutecompleted—
* (any state)failfailed—

API Usage ​

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

{
  "workflow_type": "github.repository-validate",
  "initial_data": {
    "delivery_ref": "value",
    "event_type": "value",
    "action": "value",
    "payload": "value"
  }
}