Skip to content
Proud to collaborate with Microsoft for Startups

github.push ​

Handles GitHub App push webhooks (DAG)

DAG-based GitHub push workflow.

Handles GitHub App push webhooks with parallel-capable structure. Uses atomic workflows for step execution.

Overview ​

PropertyValue
Workflow typeDag
LibraryApp-github
Version1.0

Input Schema ​

FieldTypeRequiredDefaultDescription
delivery_refstringYes—Webhook delivery ID
event_typestringYes—Webhook event type
actionstringNo—Webhook action (empty for push)
payloaddictYes—Webhook payload
organization_uuidstringNo—Organization UUID (public)

Output Schema ​

FieldTypeRequiredDefaultDescription
delivery_refstringNo——
event_typestringNo——
actionstringNo——
payloaddictNo——
organization_uuidstringNo——
workflow_run_uuidstringNo——
check_auto_deploydictNo——
check_gitopsdictNo——
completedictNo——
dispatch_staff_eventdictNo——
record_pushdictNo——
sync_branchdictNo——
validatedictNo——
failure_reasonstringNo——
failure_typestringNo——
failed_actionstringNo——
failed_at_statestringNo——
failed_stepstringNo——
failed_layerintegerNo——
errorstringNo——
error_typestringNo——

DAG Layers ​

#LayerStepsCompensation
1validategithub.push-validate—
2sync_branchgithub.push-sync-branch—
3record_pushgithub.push-record—
4check_auto_deploygithub.push-check-auto-deploy, github.push-check-gitops, staff.dispatch-event-to-actor—
5completegithub.push-complete—

Execution Flow ​

Sub-workflows ​

Sub-workflowStep name
github.push-validatevalidate
github.push-sync-branchsync_branch
github.push-recordrecord_push
github.push-check-auto-deploycheck_auto_deploy
github.push-check-gitopscheck_gitops
staff.dispatch-event-to-actordispatch_staff_event
github.push-completecomplete

Business Errors ​

CodeMessage Template
DELIVERY_ID_REQUIREDdelivery_ref is required
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",
  "initial_data": {
    "delivery_ref": "value",
    "event_type": "value",
    "payload": "value"
  }
}