github.release-complete ​
Complete release workflow
Overview ​
| Property | Value |
|---|---|
| Workflow type | Atomic |
| Library | App-github |
| Version | 1.0 |
Input Schema ​
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
github_release_ref | integer | Yes | — | GitHub release ID |
release_uuid | uuid | Yes | — | Release UUID |
action_performed | string | Yes | — | Action performed |
triggered_workflow_ref | string | No | — | Auto-deploy workflow ID |
workflow_run_id | string | No | — | Parent DAG run ID |
Output Schema ​
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
github_release_ref | integer | No | — | — |
release_uuid | uuid | No | — | — |
action_performed | string | No | — | — |
triggered_workflow_ref | string | No | — | — |
completed_at | string | No | — | — |
workflow_run_id | string | No | — | Parent DAG run ID |
failure_reason | string | No | — | — |
failure_type | string | No | — | — |
failed_action | string | No | — | — |
failed_at_state | string | No | — | — |
failed_step | string | No | — | — |
failed_layer | string | No | — | — |
error | string | No | — | — |
error_type | string | No | — | — |
States ​
| State | Initial | Terminal | Success | Auto-advance | Description |
|---|---|---|---|---|---|
pending | Yes | No | — | execute | — |
completed | No | Yes | Yes | — | — |
failed | No | Yes | No | — | — |
State Diagram ​
Transitions ​
| From | Action | To | Description |
|---|---|---|---|
pending | execute | completed | — |
* (any state) | fail | failed | — |
API Usage ​
bash
POST /api/workflows/start
Content-Type: application/json
{
"workflow_type": "github.release-complete",
"initial_data": {
"github_release_ref": 123,
"release_uuid": "value",
"action_performed": "value"
}
}