Skip to content
Proud to collaborate with Microsoft for Startups

github.repository ​

Handles GitHub App repository webhooks (DAG)

DAG-based GitHub repository workflow.

Handles GitHub App repository 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
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_repositorydictNo——
update_connectiondictNo——
completedictNo——
failure_reasonstringNo——
failure_typestringNo——
failed_actionstringNo——
failed_at_statestringNo——
failed_stepstringNo——
failed_layerintegerNo——
errorstringNo——
error_typestringNo——

DAG Layers ​

#LayerStepsCompensation
1validategithub.repository-validate—
2sync_repositorygithub.repository-sync—
3update_cloud_connectiongithub.repository-update-connection—
4completegithub.repository-complete—

Execution Flow ​

Sub-workflows ​

Sub-workflowStep name
github.repository-validatevalidate
github.repository-syncsync_repository
github.repository-update-connectionupdate_connection
github.repository-completecomplete

Business Errors ​

CodeMessage Template
DELIVERY_ID_REQUIREDdelivery_ref is required
REPOSITORY_ID_REQUIREDrepository.id not found in payload
INSTALLATION_NOT_FOUNDGitHub installation not found

API Usage ​

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

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