Skip to content
Proud to collaborate with Microsoft for Startups

github.release ​

Handles GitHub App release webhooks (DAG)

DAG-based GitHub release workflow.

Handles GitHub App release 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——
check_auto_deploydictNo——
check_gitopsdictNo——
check_k8s_targetsdictNo——
completedictNo——
dispatch_staff_eventdictNo——
sync_releasedictNo——
validatedictNo——
failure_reasonstringNo——
failure_typestringNo——
failed_actionstringNo——
failed_at_statestringNo——
failed_stepstringNo——
failed_layerintegerNo——
errorstringNo——
error_typestringNo——

DAG Layers ​

#LayerStepsCompensation
1validategithub.release-validate—
2sync_releasegithub.release-sync—
3check_auto_deploygithub.release-check-auto-deploy, github.release-check-k8s-targets, github.release-check-gitops, staff.dispatch-event-to-actor—
4completegithub.release-complete—

Execution Flow ​

Sub-workflows ​

Sub-workflowStep name
github.release-validatevalidate
github.release-syncsync_release
github.release-check-auto-deploycheck_auto_deploy
github.release-check-k8s-targetscheck_k8s_targets
github.release-check-gitopscheck_gitops
staff.dispatch-event-to-actordispatch_staff_event
github.release-completecomplete

Business Errors ​

CodeMessage Template
DELIVERY_ID_REQUIREDdelivery_ref is required
REPOSITORY_NOT_FOUNDGitHub repository not found
RELEASE_ID_REQUIREDrelease.id not found in payload

API Usage ​

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

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