Skip to content
Proud to collaborate with Microsoft for Startups

github.delete ​

Handles GitHub App delete webhooks (DAG)

DAG-based GitHub delete workflow.

Handles GitHub App delete webhooks (branch/tag deletion) for audit logging. No model is created since branches are tracked via push events.

Overview ​

PropertyValue
Workflow typeDag
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)

Output Schema ​

FieldTypeRequiredDefaultDescription
delivery_refstringNo——
event_typestringNo——
actionstringNo——
payloaddictNo——
organization_uuidstringNo——
workflow_run_uuidstringNo——
validatedictNo——
sync_refdictNo——
completedictNo——
failure_reasonstringNo——
failure_typestringNo——
failed_actionstringNo——
failed_at_statestringNo——
failed_stepstringNo——
failed_layerintegerNo——
errorstringNo——
error_typestringNo——

DAG Layers ​

#LayerStepsCompensation
1validategithub.delete-validate—
2sync_refgithub.delete-sync—
3completegithub.delete-complete—

Execution Flow ​

Sub-workflows ​

Sub-workflowStep name
github.delete-validatevalidate
github.delete-syncsync_ref
github.delete-completecomplete

Business Errors ​

CodeMessage Template
DELIVERY_ID_REQUIREDdelivery_ref is required
REF_TYPE_REQUIREDref_type not found in payload

API Usage ​

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

{
  "workflow_type": "github.delete",
  "initial_data": {
    "delivery_ref": "value",
    "event_type": "value",
    "action": "value",
    "payload": "value"
  }
}