Skip to content
Proud to collaborate with Microsoft for Startups

github.label-sync ​

Sync label event for audit

Sync label event (log for audit)

Overview ​

PropertyValue
Workflow typeAtomic
LibraryApp-github
Version1.0

Input Schema ​

FieldTypeRequiredDefaultDescription
actionstringYes—Label action
github_label_refintegerYes—GitHub label ID
label_datadictYes—Label data
repository_uuiduuidNo—Repository UUID
workflow_run_idstringNo—Parent DAG run ID

Output Schema ​

FieldTypeRequiredDefaultDescription
action_typestringNo—Action type
github_label_refintegerNo—GitHub label ID
label_namestringNo—Label name
label_colorstringNo—Label color
repository_uuiduuidNo—Repository UUID
synced_atstringNo—Synced 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.label-sync",
  "initial_data": {
    "action": "value",
    "github_label_ref": 123,
    "label_data": "value"
  }
}