github.create-dispatch-staff-event ​
Dispatch GitHub create/tag events to Staff event bindings
Dispatch GitHub tag creation to Staff event bindings
Overview ​
| Property | Value |
|---|---|
| Workflow type | Atomic |
| Library | App-github |
| Version | 1.0 |
Input Schema ​
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
organization_uuid | string | No | — | Organization UUID (public) |
delivery_ref | string | No | — | Webhook delivery ID |
payload | dict | No | — | Webhook payload |
repository | string | No | — | Repository full name |
repository_uuid | string | No | — | Repository UUID |
ref_type | string | No | — | Ref type (branch/tag) |
ref_name | string | No | — | Ref name |
ref | string | No | — | Full Git ref |
sha | string | No | — | SHA ref points to |
workflow_run_id | string | No | — | Parent DAG run ID |
Output Schema ​
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
skipped | boolean | No | — | — |
skip_reason | string | No | — | — |
matched_bindings | integer | No | — | — |
dispatched | integer | No | — | — |
staff_workflow_uuid | string | No | — | — |
items | json | No | — | — |
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.create-dispatch-staff-event",
"initial_data": {
"organization_uuid": "value",
"delivery_ref": "value",
"payload": "value",
"repository": "value"
}
}