Skip to content
Proud to collaborate with Microsoft for Startups

github.release-sync ​

Sync release to DB

Sync release to DB (create/update/delete)

Overview ​

PropertyValue
Workflow typeAtomic
LibraryApp-github
Version1.0

Input Schema ​

FieldTypeRequiredDefaultDescription
actionstringYes—Release action
github_release_refintegerYes—GitHub release ID
repository_uuiduuidYes—Repository UUID
delivery_refstringNo—Webhook delivery reference
organization_uuidstringNo—Organization UUID (public)
release_datadictYes—Release data from webhook
workflow_run_idstringNo—Parent DAG run ID

Output Schema ​

FieldTypeRequiredDefaultDescription
release_uuidstringNo——
action_performedstringNo——
is_draftbooleanNo——
is_prereleasebooleanNo——
workflow_run_idstringNo—Parent DAG run ID
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.release-sync",
  "initial_data": {
    "action": "value",
    "github_release_ref": 123,
    "repository_uuid": "value",
    "release_data": "value"
  }
}