github.check-complete ​
Complete check workflow
Overview ​
| Property | Value |
|---|---|
| Workflow type | Atomic |
| Library | App-github |
| Version | 1.0 |
Input Schema ​
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
github_check_ref | integer | Yes | — | GitHub check ID |
check_name | string | Yes | — | Check name |
check_status | string | Yes | — | Check status |
check_conclusion | string | No | — | Check conclusion |
workflow_run_id | string | No | — | Parent DAG run ID |
Output Schema ​
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
github_check_ref | integer | No | — | GitHub check ID |
check_name | string | No | — | Check name |
check_status | string | No | — | Check status |
check_conclusion | string | No | — | Check conclusion |
completed_at | string | No | — | Completion timestamp |
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.check-complete",
"initial_data": {
"github_check_ref": 123,
"check_name": "value",
"check_status": "value"
}
}