Skip to content
Proud to collaborate with Microsoft for Startups

github.create-dispatch-staff-event ​

Dispatch GitHub create/tag events to Staff event bindings

Dispatch GitHub tag creation to Staff event bindings

Overview ​

PropertyValue
Workflow typeAtomic
LibraryApp-github
Version1.0

Input Schema ​

FieldTypeRequiredDefaultDescription
organization_uuidstringNo—Organization UUID (public)
delivery_refstringNo—Webhook delivery ID
payloaddictNo—Webhook payload
repositorystringNo—Repository full name
repository_uuidstringNo—Repository UUID
ref_typestringNo—Ref type (branch/tag)
ref_namestringNo—Ref name
refstringNo—Full Git ref
shastringNo—SHA ref points to
workflow_run_idstringNo—Parent DAG run ID

Output Schema ​

FieldTypeRequiredDefaultDescription
skippedbooleanNo——
skip_reasonstringNo——
matched_bindingsintegerNo——
dispatchedintegerNo——
staff_workflow_uuidstringNo——
itemsjsonNo——
failure_reasonstringNo——
failure_typestringNo——
failed_actionstringNo——
failed_at_statestringNo——
failed_stepstringNo——
failed_layerstringNo——
errorstringNo——
error_typestringNo——

States ​

StateInitialTerminalSuccessAuto-advanceDescription
pendingYesNo—execute—
completedNoYesYes——
failedNoYesNo——

State Diagram ​

Transitions ​

FromActionToDescription
pendingexecutecompleted—
* (any state)failfailed—

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"
  }
}