Skip to content
Proud to collaborate with Microsoft for Startups

github.push-validate ​

Validate push event payload and extract branch/commit info

Validate push webhook payload and extract data

Overview ​

PropertyValue
Workflow typeLinear
LibraryApp-github
Version1.0

Input Schema ​

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

Output Schema ​

FieldTypeRequiredDefaultDescription
delivery_refstringNo——
github_repo_refintegerNo——
repository_uuidstringNo——
organization_uuidstringNo——
refstringNo——
branch_namestringNo——
head_commitdictNo——
commitslistNo——
pusherdictNo——
is_deletedbooleanNo——
is_createdbooleanNo——
is_forcedbooleanNo——
before_shastringNo——
after_shastringNo——
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—

Business Errors ​

CodeMessage Template
REPOSITORY_NOT_FOUNDGitHub repository not found
REF_REQUIREDref is required

API Usage ​

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

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