Skip to content

Get Contributor Stats Node

Data/GitHub

Weekly commit, addition and deletion statistics per contributor (top 100 by commits). GitHub computes these on demand, so the node retries while the statistics are being prepared. Repositories with 10,000 or more commits report zero additions and deletions.

data_github_get_contributor_statsdata
Inputs6
Outputs4
Security exposure8/10
Packagedata

Ratings

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

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

Input Pins

6

Input

Execution
exec_in

Fetch contributor statistics

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

Recent Weeks

Integer
recent_weeks

Window for the recent commit, addition and deletion totals

Default 52

Max Attempts

Integer
max_attempts

How often to ask while GitHub is still computing the statistics

Default 6

Output Pins

4

Success

Execution
exec_out

Triggered on success

Error

Execution
error

Triggered on API errors or when the statistics are still not ready

Contributors

Struct Array
contributors

Contributors sorted by recent commits

GitHubContributorStatsGitHubContributorStats7 fields
loginstring | null

Login of the author; empty for commits whose author has no GitHub account

author_typestring | null
total_commitsinteger:int64required
format int64
recent_commitsinteger:int64required
format int64
recent_additionsinteger:int64required
format int64
recent_deletionsinteger:int64required
format int64
weeksArray<GitHubContributorWeek>required
itemsGitHubContributorWeekarray item
week_startinteger:int64required

Start of the week as Unix timestamp (seconds)

format int64
additionsinteger:int64required
format int64
deletionsinteger:int64required
format int64
commitsinteger:int64required
format int64
Schema enforced

Recent Commits

Integer
recent_total

Commits by all listed contributors within the recent window

Node Info

Internal name
data_github_get_contributor_stats
Category
Data/GitHub