Adjust PR KPI script (#13463)

This commit is contained in:
Luke Heath 2023-08-25 14:55:36 -07:00 committed by GitHub
parent ba25c5ef43
commit 80fecc3405
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -183,7 +183,7 @@ module.exports = {
}
// If not a draft, not a bot, not a PR labeled with #handbook
// Track as a contributor PR and include in contributor PR KPI
if (!pullRequest.draft && pullRequest.user.type !== 'Bot' && !pullRequest.labels.some(label => label.name === '#handbook' || label.name === '#g-ceo')) {
if (!pullRequest.draft && pullRequest.user.type !== 'Bot' && !pullRequest.labels.some(label => label.name === '#handbook' || label.name === '#g-ceo' || label.name === ':improve documentation')) {
daysSinceContributorPullRequestsWereOpened.push(timeOpenInDays);
contributorPullRequests.push(pullRequest);
}