Skip to content
Proud to collaborate with Microsoft for Startups

github.repository-update-connection ​

Update CloudConnection metadata

Update CloudConnection metadata after repository changes

Overview ​

PropertyValue
Workflow typeAtomic
LibraryApp-github
Version1.0

Input Schema ​

FieldTypeRequiredDefaultDescription
action_typestringYes—Sync type
installation_uuiduuidYes—Installation UUID
organization_uuidstringNo—Organization UUID (public)
repo_datadictYes—Repository data
workflow_run_idstringNo—Parent DAG run ID

Output Schema ​

FieldTypeRequiredDefaultDescription
cloud_connection_uuidstringNo—CloudConnection UUID
skippedbooleanNo—Whether the update was skipped
organization_uuidstringNo—Organization UUID (public)
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.repository-update-connection",
  "initial_data": {
    "action_type": "value",
    "installation_uuid": "value",
    "repo_data": "value"
  }
}