Skip to content

Compare Commits Node

Data/GitHub

Compare Commits

Compare two commits, branches, or tags

data_github_compare_commitsdata
Inputs6
Outputs6
Security exposure2/10
Packagedata

Ratings

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

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

Input Pins

6

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

Base

String
base

Base branch, tag, or SHA

Head

String
head

Head branch, tag, or SHA

Output Pins

6

Success

Execution
exec_out

Triggered on success

Error

Execution
error

Triggered on error

Comparison

Struct
comparison

Comparison result

GitHubCompareResultGitHubCompareResult5 fields
statusstringrequired
ahead_byinteger:int64required
format int64
behind_byinteger:int64required
format int64
total_commitsinteger:int64required
format int64
commitsArray<GitHubCommit>required
itemsGitHubCommitarray item
shastringrequired
messagestringrequired
authorGitHubCommitAuthorrequired
namestringrequired
emailstringrequired
datestringrequired
committerGitHubCommitAuthorrequired
namestringrequired
emailstringrequired
datestringrequired
html_urlstringrequired
+3 more fields

Status

String
status

Comparison status (ahead, behind, identical, diverged)

Ahead By

Integer
ahead_by

Number of commits ahead

Behind By

Integer
behind_by

Number of commits behind

Node Info

Internal name
data_github_compare_commits
Category
Data/GitHub