Skip to content

Commit

Permalink
feat: exclude prs and issues labelled chore
Browse files Browse the repository at this point in the history
  • Loading branch information
Rohan Lekhwani committed Apr 2, 2022
1 parent 3f76f13 commit 8e93c08
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 8e93c08

Please sign in to comment.