github.repository-validate ​
Validate repository event payload and extract repository data
Validate repository webhook payload and extract data
Overview ​
| Property | Value |
|---|---|
| Workflow type | Atomic |
| 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) |
workflow_run_id | string | No | — | Parent DAG run ID |
Output Schema ​
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
delivery_ref | string | No | — | Webhook delivery ID |
event_type | string | No | — | Webhook event type |
action | string | No | — | Webhook action |
github_repo_ref | integer | No | — | GitHub repository ID |
installation_data | dict | No | — | Installation data from payload |
organization_uuid | string | No | — | Organization UUID (public) |
action_type | string | No | — | Mapped sync type |
repo_data | dict | No | — | Repository data from payload |
installation_uuid | string | No | — | Installation UUID |
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.repository-validate",
"initial_data": {
"delivery_ref": "value",
"event_type": "value",
"action": "value",
"payload": "value"
}
}