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 ​
| Property | Value |
|---|---|
| Workflow type | Dag |
| Library | App-github |
| Version | 1.0 |
Input Schema ​
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
delivery_ref | string | Yes | — | Webhook delivery ID |
event_type | string | Yes | — | Webhook event type |
action | string | Yes | — | Webhook action |
payload | dict | Yes | — | Webhook payload |
organization_uuid | string | No | — | Organization UUID (public) |
Output Schema ​
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
delivery_ref | string | No | — | — |
event_type | string | No | — | — |
action | string | No | — | — |
payload | dict | No | — | — |
organization_uuid | string | No | — | — |
workflow_run_uuid | string | No | — | — |
check_auto_deploy | dict | No | — | — |
check_gitops | dict | No | — | — |
check_k8s_targets | dict | No | — | — |
complete | dict | No | — | — |
dispatch_staff_event | dict | No | — | — |
sync_release | dict | No | — | — |
validate | dict | No | — | — |
failure_reason | string | No | — | — |
failure_type | string | No | — | — |
failed_action | string | No | — | — |
failed_at_state | string | No | — | — |
failed_step | string | No | — | — |
failed_layer | integer | No | — | — |
error | string | No | — | — |
error_type | string | No | — | — |
DAG Layers ​
| # | Layer | Steps | Compensation |
|---|---|---|---|
| 1 | validate | github.release-validate | — |
| 2 | sync_release | github.release-sync | — |
| 3 | check_auto_deploy | github.release-check-auto-deploy, github.release-check-k8s-targets, github.release-check-gitops, staff.dispatch-event-to-actor | — |
| 4 | complete | github.release-complete | — |
Execution Flow ​
Sub-workflows ​
| Sub-workflow | Step name |
|---|---|
github.release-validate | validate |
github.release-sync | sync_release |
github.release-check-auto-deploy | check_auto_deploy |
github.release-check-k8s-targets | check_k8s_targets |
github.release-check-gitops | check_gitops |
staff.dispatch-event-to-actor | dispatch_staff_event |
github.release-complete | complete |
Business Errors ​
| Code | Message Template |
|---|---|
DELIVERY_ID_REQUIRED | delivery_ref is required |
REPOSITORY_NOT_FOUND | GitHub repository not found |
RELEASE_ID_REQUIRED | release.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"
}
}