RoleLogic

Home › Integrations › 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 ★ 5.0 on Top.gg
githubcontributorcommitspull requestsmerged prsissuesopen sourcehackathondevelopergithub oauthrolediscord serverdiscord role bot

See GitHub Contributor Role in action

A short walkthrough of setup and usage.

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, at least, less than, at most, or between). One rule per role.

3

Members link GitHub

Members link their GitHub account once on the plugin's page. Commits count when GitHub credits them to that account — it matches each commit by the email it was made with — and pull requests and issues count by the account that opened them.

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?

Each tracked repository is re-read from GitHub about every 30 minutes, and roles are added or removed when someone crosses your number. GitHub's own commit counts can run a few hours behind.

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.

Turn GitHub Contributor Role into a full role system

The verified role this plugin produces is an ordinary Discord role, so every RoleLogic rule can build on it.

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