Skip to content
Proud to collaborate with Microsoft for Startups

github.project.sync ​

Synchronize GitHub Projects V2 project configuration.

Overview ​

PropertyValue
Workflow typeDag
LibraryApp-github
Version1.0

Input Schema ​

FieldTypeRequiredDefaultDescription
workflow_run_idstringNo—Parent DAG run ID
organization_uuidstringNo—Organization UUID
actorstringNo—Actor initiating the workflow
dry_runbooleanNo—Plan without mutating GitHub
github_connection_uuidstringNo—GitHub connection UUID
github_tokenstringNo—Runtime GitHub token
ownerstringNo—GitHub organization or user login
owner_typestringNo—ORGANIZATION or USER
project_numberintegerNo—GitHub project number
project_node_refstringNo—GitHub ProjectV2 node ref
titlestringNo—Project title
repositorystringNo—Repository owner/name
repository_node_refstringNo—Repository node ref
desired_repositorieslistNo—Desired repository links
field_node_refstringNo—Project field node ref
field_namestringNo—Project field name
field_typestringNo—Project field type
optionslistNo—Single-select options
iteration_configurationdictNo—Iteration config
item_node_refstringNo—Project item node ref
content_node_refstringNo—Issue or PR node ref
draft_issuedictNo—Draft issue input
field_valuesdictNo—Field values to apply
archive_reasonstringNo—Archive reason
desired_accesslistNo—Desired user/team grants
usernamestringNo—GitHub username
user_node_refstringNo—GitHub user node ref
team_slugstringNo—GitHub team slug
team_node_refstringNo—GitHub team node ref
permissionstringNo—Project permission
view_node_refstringNo—Project view node ref
view_namestringNo—Project view name
layoutstringNo—View layout
filtersdictNo—View filters
groupingdictNo—View grouping
sortingdictNo—View sorting
automation_ruleslistNo—Automation rules
workflow_ruleslistNo—Project workflow rules
auto_add_ruleslistNo—Auto-add rules
auto_archive_ruleslistNo—Auto-archive rules
delivery_refstringNo—Webhook delivery ID
event_typestringNo—Webhook event type
actionstringNo—Webhook action
payloaddictNo—Webhook payload
dependency_contextdictNo—Prior step output

Output Schema ​

FieldTypeRequiredDefaultDescription
workflow_run_idstringNo—Parent DAG run ID
organization_uuidstringNo—Organization UUID
actorstringNo—Actor initiating the workflow
dry_runbooleanNo—Plan without mutating GitHub
github_connection_uuidstringNo—GitHub connection UUID
github_tokenstringNo—Runtime GitHub token
ownerstringNo—GitHub organization or user login
owner_typestringNo—ORGANIZATION or USER
project_numberintegerNo—GitHub project number
project_node_refstringNo—GitHub ProjectV2 node ref
titlestringNo—Project title
repositorystringNo—Repository owner/name
repository_node_refstringNo—Repository node ref
desired_repositorieslistNo—Desired repository links
field_node_refstringNo—Project field node ref
field_namestringNo—Project field name
field_typestringNo—Project field type
optionslistNo—Single-select options
iteration_configurationdictNo—Iteration config
item_node_refstringNo—Project item node ref
content_node_refstringNo—Issue or PR node ref
draft_issuedictNo—Draft issue input
field_valuesdictNo—Field values to apply
archive_reasonstringNo—Archive reason
desired_accesslistNo—Desired user/team grants
usernamestringNo—GitHub username
user_node_refstringNo—GitHub user node ref
team_slugstringNo—GitHub team slug
team_node_refstringNo—GitHub team node ref
permissionstringNo—Project permission
view_node_refstringNo—Project view node ref
view_namestringNo—Project view name
layoutstringNo—View layout
filtersdictNo—View filters
groupingdictNo—View grouping
sortingdictNo—View sorting
automation_ruleslistNo—Automation rules
workflow_ruleslistNo—Project workflow rules
auto_add_ruleslistNo—Auto-add rules
auto_archive_ruleslistNo—Auto-archive rules
delivery_refstringNo—Webhook delivery ID
event_typestringNo—Webhook event type
actionstringNo—Webhook action
payloaddictNo—Webhook payload
dependency_contextdictNo—Prior step output
workflow_run_uuidstringNo—Parent DAG run ID
upsert_projectdictNo—Output of the upsert_project step
sync_repositoriesdictNo—Output of the sync_repositories step
sync_accessdictNo—Output of the sync_access step
statusstringNo—Terminal status
summarydictNo—Workflow summary
plandictNo—Provider operation plan
resource_refsdictNo—GitHub resource references
warningslistNo—Non-fatal warnings
appliedbooleanNo—Whether provider changes were applied
provider_resultdictNo—Provider response
failure_reasonstringNo——
failure_typestringNo——
failed_actionstringNo——
failed_at_statestringNo——
failed_stepstringNo——
failed_layerstringNo——
errorstringNo——
error_typestringNo——
failed_atstringNo——

DAG Layers ​

#LayerStepsCompensation
1upsert_projectgithub.project.upsert—
2sync_repositoriesgithub.project-repository.sync—
3sync_accessgithub.project-access.sync—

Execution Flow ​

Sub-workflows ​

Sub-workflowStep name
github.project.upsertupsert_project
github.project-repository.syncsync_repositories
github.project-access.syncsync_access

Business Errors ​

CodeMessage Template
GITHUB_PROJECT_V2_INPUT_ERRORInvalid GitHub Projects V2 workflow input

API Usage ​

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

{
  "workflow_type": "github.project.sync",
  "initial_data": {
    "workflow_run_id": "value",
    "organization_uuid": "value",
    "actor": "value",
    "dry_run": true
  }
}