Home › Integrations › GitHub Contributor Role
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.
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.
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.
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.
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.
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.
Other Discord role integrations
More ways to automate Discord roles with RoleLogic.
Top.gg Voter Role
Auto-reward Top.gg voters with Discord roles that expire on a configurable timer (1 hour to 7 days).
Genshin Player Role
Verify Genshin Impact players by UID and assign Discord roles based on AR, World Level, Spiral Abyss, achievements, characters, and server region.
YouTube Subscriber Role
Auto-assign Discord roles to verified YouTube subscribers with one-click Google OAuth.
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