From 8e93c083d7faf8e39f50517c4758247e8d5e877f Mon Sep 17 00:00:00 2001 From: Rohan Lekhwani Date: Sat, 2 Apr 2022 20:05:34 +0530 Subject: [PATCH] feat: exclude prs and issues labelled chore --- src/server/util/API.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/server/util/API.js b/src/server/util/API.js index 2283c3d..5e82e9a 100644 --- a/src/server/util/API.js +++ b/src/server/util/API.js @@ -147,6 +147,12 @@ async function getContributorInfo( MergedPRsURL += `+repo:${organization}/${repository}` IssuesURL += `+repo:${organization}/${repository}` }) + openPRsLink += '+-label:chore' + mergedPRsLink += '+-label:chore' + issuesLink += '+-label:chore' + OpenPRsURL += '+-label:chore' + MergedPRsURL += '+-label:chore' + IssuesURL += '+-label:chore' const openPRsNumber = await getOpenPRsNumber(OpenPRsURL) const mergedPRsNumber = await getMergedPRsNumber(MergedPRsURL) const issuesNumber = await getIssuesNumber(IssuesURL)