github.workflow-run-complete ​
Record that workflow_run event was handled
Complete a workflow_run DAG — record that the event was handled.
Inputs:
- action: The webhook action
- github_workflow_run_ref: GitHub workflow run reference
- repository_full_name: Full name "owner/repo"
- run_status: Status from workflow_run
- run_conclusion: Conclusion from workflow_run
- organization_uuid: Organization UUID (public)
- runner_stopped: Whether a runner was stopped
- stop_reason: Why the runner was stopped (if applicable)
Outputs (terminal state_data):
- completed_at: ISO timestamp
- workflow_run_processed: True
Overview ​
| Property | Value |
|---|---|
| Workflow type | Atomic |
| Library | App-github |
| Version | 1.0 |
Input Schema ​
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
action | string | Yes | — | Webhook action |
github_workflow_run_ref | integer | No | — | Workflow run ID |
repository_full_name | string | Yes | — | Repository full name |
run_status | string | No | — | Workflow run status |
run_conclusion | string | No | — | Workflow run conclusion |
organization_uuid | string | No | — | Organization UUID (public) |
runner_stopped | boolean | No | — | Whether runner was stopped |
stop_reason | string | No | — | Why runner was stopped |
workflow_run_id | string | No | — | Parent DAG run ID |
Output Schema ​
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
completed_at | string | No | — | ISO timestamp |
workflow_run_processed | boolean | No | — | Whether workflow_run was processed |
action | string | No | — | Webhook action |
github_workflow_run_ref | integer | No | — | Workflow run ID |
repository_full_name | string | No | — | Repository full name |
run_status | string | No | — | Workflow run status |
run_conclusion | string | No | — | Workflow run conclusion |
organization_uuid | string | No | — | Organization UUID (public) |
runner_stopped | boolean | No | — | Whether runner was stopped |
stop_reason | string | No | — | Why runner was stopped |
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.workflow-run-complete",
"initial_data": {
"action": "value",
"repository_full_name": "value"
}
}