RoleLogic

HomeIntegrations › GitHub Contributor Role

GitHub Contributor Role icon

Reward GitHub Contributors With Discord Roles

Members link Discord and GitHub once. RoleLogic checks their contributions to your repo — commits, PRs, merged PRs, issues — and hands out a Discord role when they hit the number you pick.

Free plan available · No coding required Version 1.0.9 Updated 2026-04-17
githubcontributorcommitspull requestsmerged prsissuesopen sourcehackathondevelopergithub oauthrolediscord serverdiscord role bot

What you can build with GitHub Contributor Role

Real use cases that ship in production Discord servers using RoleLogic + GitHub.

Open source contributor recognition

Hand out a 'Contributor' role at 1+ merged PR, 'Core Contributor' at 10+, 'Maintainer' at 50+. No manual badges in #verification, no outdated contributor lists.

Hackathon and bounty events

Set up contribution rules for a hackathon, bounty push, or sprint. Roles are given as people hit your count, and removed when the event ends if you swap out the rule.

Issue triage and reporter rewards

Reward members who file useful bug reports — 'Bug Hunter' at 5+ issues, 'Power Reporter' at 20+. You can also use a range like 'between 5 and 20' to fit a specific tier.

Per-repo gating across multiple projects

Run a separate rule per repo so roles match specific projects — handy for organisations with multiple open-source projects, monorepos, or layered Discord communities.

How GitHub Contributor Role works

From install to live GitHub roles in a few minutes.

1

Pick a public GitHub repo

Enter the owner/repo of the project you want to track. Public repositories only — GitHub doesn't share contribution counts for private repos.

2

Set the rule

Choose what to count (commits, PRs, merged PRs, or issues) and how to compare (equals, more than, less than, or between). One rule per role.

3

Members link GitHub

Members sign in with GitHub once. RoleLogic matches contributions on the verified email tied to their GitHub account, so anything they commit with that email is counted.

Get started — it's free

Frequently asked questions

Common questions about GitHub Contributor Role and RoleLogic.

Does it work with private repositories?

Public repos only. GitHub doesn't share contribution counts on private repos without special access, and most communities want a public source of truth anyway.

What contributions count?

Commits, pull requests (all), merged pull requests, and issues. You decide which one matters and the threshold — including ranges like 'commits between 5 and 50'.

Why is my contribution count zero even though I committed?

GitHub only credits a commit to your account if the commit's email is one of your verified emails. If you committed with a different email, add it to your GitHub profile, and the plugin will start counting it after the next refresh.

How often is contribution data refreshed?

On a regular schedule, usually every couple of hours per member. Roles update automatically when new contributions push someone over the threshold.

What about GitHub API rate limits?

RoleLogic manages everything for you, so you never have to think about GitHub's rate limits or run out of quota.

Ship GitHub Contributor Role in 5 minutes

Free plan, no coding, real-time sync. Used by Discord servers of every size — from indie communities to verified gaming servers with hundreds of thousands of members.

Set up GitHub Contributor Role