From e7f85bb4475323afd9c0cfe5d00e49e7649000e7 Mon Sep 17 00:00:00 2001 From: Elian Doran Date: Sun, 19 Apr 2026 13:12:41 +0300 Subject: [PATCH] chore(scripts): filter contributors by minimum commits --- scripts/list-contributors.ts | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/scripts/list-contributors.ts b/scripts/list-contributors.ts index 8df2652e8b..c70561bcae 100644 --- a/scripts/list-contributors.ts +++ b/scripts/list-contributors.ts @@ -36,13 +36,16 @@ async function listGitHubContributors() { return; } - const contributors: ContributorInfo[] = list.map((c) => { - return { - name: c.login, - url: c.html_url, - commitCount: c.contributions - } as ContributorInfo; - }); + const MIN_CONTRIBUTIONS = 125; + const contributors: ContributorInfo[] = list + .filter((c) => c.contributions >= MIN_CONTRIBUTIONS) + .map((c) => { + return { + name: c.login, + url: c.html_url, + commitCount: c.contributions + } as ContributorInfo; + }); showTable({ title: "GitHub Contributor List",