Skip to content
Proud to collaborate with Microsoft for Startups

github.repository-complete ​

Complete repository workflow

Overview ​

PropertyValue
Workflow typeAtomic
LibraryApp-github
Version1.0

Input Schema ​

FieldTypeRequiredDefaultDescription
github_repo_refintegerYes—GitHub repository ID
repository_uuiduuidNo—Repository UUID
action_typestringYes—Sync type
action_performedstringYes—Action performed
workflow_run_idstringNo—Parent DAG run ID

Output Schema ​

FieldTypeRequiredDefaultDescription
github_repo_refintegerNo—GitHub repository ID
repository_uuiduuidNo—Repository UUID
action_typestringNo—Sync type
action_performedstringNo—Action performed
completed_atstringNo—Completion timestamp
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-complete",
  "initial_data": {
    "github_repo_ref": 123,
    "action_type": "value",
    "action_performed": "value"
  }
}