Skip to content

Remove bots and agents from contributor leaderboard#8

Merged
naheel0 merged 2 commits intomainfrom
copilot/remove-bot-and-agents-leaderboard
Mar 9, 2026
Merged

Remove bots and agents from contributor leaderboard#8
naheel0 merged 2 commits intomainfrom
copilot/remove-bot-and-agents-leaderboard

Conversation

Copy link
Contributor

Copilot AI commented Mar 9, 2026

Bots (@Copilot, @github-actions[bot]) were appearing in the top contributors leaderboard, displacing real human contributors.

Changes

  • profile/scripts/updateReadme.js — Added isBot() helper that excludes accounts where user.type === 'Bot' or user.login ends with [bot]. Applied at all three contribution-counting sites (commits, PRs, issues):
function isBot(user) {
  if (!user) return false;
  if (user.type === 'Bot') return true;
  if (user.login && user.login.endsWith('[bot]')) return true;
  return false;
}
  • profile/README.md — Removed existing bot entries from the static leaderboard snapshot; human contributors re-ranked accordingly.

🔒 GitHub Advanced Security automatically protects Copilot coding agent pull requests. You can protect all pull requests by enabling Advanced Security for your repositories. Learn more about Advanced Security.

Co-authored-by: naheel0 <191262736+naheel0@users.noreply.github.com>
Copilot AI changed the title [WIP] Remove bot and agents from leaderboard Remove bots and agents from contributor leaderboard Mar 9, 2026
@naheel0 naheel0 marked this pull request as ready for review March 9, 2026 17:34
@naheel0 naheel0 requested review from jaseel0 and naheel0 as code owners March 9, 2026 17:34
@jaseel0 jaseel0 added documentation Improvements or additions to documentation profile javascript labels Mar 9, 2026
@naheel0 naheel0 merged commit 5784f44 into main Mar 9, 2026
1 check passed
@naheel0 naheel0 deleted the copilot/remove-bot-and-agents-leaderboard branch March 9, 2026 17:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation javascript profile

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants