Skip to content

Create Pull Request Node

Data/GitHub

Create Pull Request

Create a new pull request

data_github_create_pull_requestdata
Inputs12
Outputs5
Security exposure3/10
Packagedata

Ratings

Scores range from 0 to 10. Higher values mean more impact, exposure, or operational weight.

SecurityAttack surface and exposure impact.
3/10High
PrivacyPotential sensitivity of processed data.
4/10Medium
PerformanceRuntime or resource pressure.
2/10High
GovernancePolicy, audit, or compliance impact.
4/10Medium
ReliabilityOperational stability considerations.
2/10High
CostExternal or compute cost impact.
2/10High

Input Pins

12

Input

Execution
exec_in

Trigger

Provider

Struct
provider

GitHub provider

GitHubProviderGitHubProvider3 fields
provider_idstringrequired
access_tokenstringrequired
base_urlstringrequired
Schema enforced

Owner

String
owner

Repository owner

Repository

String
repo

Repository name

Title

String
title

Pull request title

Head

String
head

Branch containing changes (owner:branch for cross-repo)

Base

String
base

Branch to merge into

Issue

Integer
issue

Issue number to convert into a pull request

Default 0

Head Repository

String
head_repo

Repository name containing the head branch when both repos are owned by the same organization

Body

String
body

Pull request description (Markdown supported)

Draft

Boolean
draft

Create as draft pull request

Default false

Maintainer Can Modify

Boolean
maintainer_can_modify

Allow maintainers to modify the PR

Default true

Output Pins

5

Success

Execution
exec_out

Triggered on success

Error

Execution
error

Triggered on error

Pull Request

Struct
pull_request

Created pull request

GitHubPullRequestGitHubPullRequest22 fields
idinteger:int64required
format int64
numberinteger:int64required
format int64
titlestringrequired
bodystring | null
statestringrequired
html_urlstringrequired
diff_urlstringrequired
patch_urlstringrequired
userGitHubPrUserrequired
idinteger:int64required
format int64
loginstringrequired
avatar_urlstringrequired
html_urlstringrequired
headGitHubPrBranchrequired
labelstringrequired
refstringrequired
shastringrequired
baseGitHubPrBranchrequired
labelstringrequired
refstringrequired
shastringrequired
draftbooleanrequired
mergedbooleanrequired
mergeableboolean | null
commitsinteger:int64required
format int64
additionsinteger:int64required
format int64
deletionsinteger:int64required
format int64
changed_filesinteger:int64required
format int64
+4 more fields

PR Number

Integer
pr_number

Pull request number

URL

String
html_url

Pull request URL

Node Info

Internal name
data_github_create_pull_request
Category
Data/GitHub
Version
1