Skip to content

Commit

Permalink
Quick filter to prevent go-production-commits-barrage from affecting …
Browse files Browse the repository at this point in the history
…leaderboard ranking

thx RonLek !
  • Loading branch information
Sing-Li authored Apr 2, 2022
2 parents 3f76f13 + 8e93c08 commit d71c014
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/server/util/API.js
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit d71c014

Please sign in to comment.