github.installation-complete ​
Log and set completed_at
Log completion and set completed_at
Overview ​
| Property | Value |
|---|---|
| Workflow type | Linear |
| Library | App-github |
| Version | 1.0 |
Input Schema ​
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
github_installation_ref | integer | No | — | GitHub installation reference |
installation_uuid | uuid | No | — | Internal GitHubInstallation row UUID |
sync_type | string | No | — | Sync type |
repos_synced | integer | No | — | Repos synced count |
workflow_run_id | string | No | — | Parent DAG run ID |
Output Schema ​
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
github_installation_ref | integer | No | — | GitHub installation reference |
installation_uuid | uuid | No | — | Internal GitHubInstallation row UUID |
sync_type | string | No | — | Sync type |
repos_synced | integer | No | — | Repos synced count |
completed_at | string | No | — | — |
failure_reason | string | No | — | — |
workflow_run_id | string | No | — | Parent DAG run ID |
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 | — | run | — |
run | No | No | — | complete | — |
completed | No | Yes | Yes | — | — |
failed | No | Yes | No | — | — |
State Diagram ​
Transitions ​
| From | Action | To | Description |
|---|---|---|---|
pending | run | run | — |
run | complete | completed | — |
* (any state) | fail | failed | — |
API Usage ​
bash
POST /api/workflows/start
Content-Type: application/json
{
"workflow_type": "github.installation-complete",
"initial_data": {
"github_installation_ref": 123,
"installation_uuid": "value",
"sync_type": "value",
"repos_synced": 123
}
}