Skip to content
Proud to collaborate with Microsoft for Startups

github.installation-sync-repositories ​

Sync repositories from payload

Sync repositories from webhook payload (or no-op when skip_repo_sync)

Overview ​

PropertyValue
Workflow typeLinear
LibraryApp-github
Version1.0

Input Schema ​

FieldTypeRequiredDefaultDescription
installation_uuiduuidNo—Installation UUID (absent when skip_repo_sync)
payloaddictYes—Webhook payload
sync_typestringYes—Sync type
skip_repo_syncbooleanNo—If true, skip repo sync
workflow_run_idstringNo—Parent DAG run ID

Output Schema ​

FieldTypeRequiredDefaultDescription
installation_uuiduuidNo—Installation UUID (absent when skip_repo_sync)
payloaddictNo—Webhook payload
sync_typestringNo—Sync type
skip_repo_syncbooleanNo—If true, skip repo sync
repos_syncedintegerNo——
repos_skippedbooleanNo——
repos_removedintegerNo——
repo_sync_errorsstringNo——
repos_synced_atstringNo——
failure_reasonstringNo——
workflow_run_idstringNo—Parent DAG run ID
failure_typestringNo——
failed_actionstringNo——
failed_at_statestringNo——
failed_stepstringNo——
failed_layerstringNo——
errorstringNo——
error_typestringNo——

States ​

StateInitialTerminalSuccessAuto-advanceDescription
pendingYesNo—run—
runNoNo—complete—
completedNoYesYes——
failedNoYesNo——

State Diagram ​

Transitions ​

FromActionToDescription
pendingrunrun—
runcompletecompleted—
* (any state)failfailed—

API Usage ​

bash
POST /api/workflows/start
Content-Type: application/json

{
  "workflow_type": "github.installation-sync-repositories",
  "initial_data": {
    "payload": "value",
    "sync_type": "value"
  }
}