Skip to content
Proud to collaborate with Microsoft for Startups

github.pulls.get_exact_pr ​

Read a normalized GitHub pull request snapshot for delivery orchestration.

Overview ​

PropertyValue
Workflow typeAtomic
LibraryApp-github
Version1.0

Input Schema ​

FieldTypeRequiredDefaultDescription
organization_uuiduuidYes——
actorstringNo——
workflow_run_idstringNo——
github_connection_uuiduuidNo——
repositorystringYes——
pull_numberintegerYes——

Output Schema ​

FieldTypeRequiredDefaultDescription
statusstringNo——
repositorystringNo——
pull_numberintegerNo——
html_urlstringNo——
titlestringNo——
statestringNo——
draftbooleanNo——
head_refstringNo——
head_shastringNo——
head_repositorystringNo—The head repo's full_name as owner/name, or null when GitHub reports no head repository
base_repositorystringNo—The base repo's full_name
is_forkbooleanNo—True when the head repository is missing or differs from the base repository
base_refstringNo——
base_shastringNo——
mergeablebooleanNo——
mergeable_statestringNo——
mergedbooleanNo——
merge_commit_shastringNo——
changed_filesintegerNo——
additionsintegerNo——
deletionsintegerNo——
labelslistNo——
updated_atstringNo——
warningslistNo——
failure_reasonstringNo——
failed_stepstringNo——
failed_layerstringNo——
failed_at_statestringNo——
errorstringNo——
error_typestringNo——
failed_atstringNo——

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.pulls.get_exact_pr",
  "initial_data": {
    "organization_uuid": "value",
    "repository": "value",
    "pull_number": 123
  }
}