mirror of
https://github.com/fleetdm/fleet
synced 2026-05-23 08:58:41 +00:00
Adjust PR KPI script (#13463)
This commit is contained in:
parent
ba25c5ef43
commit
80fecc3405
1 changed files with 1 additions and 1 deletions
2
website/scripts/get-bug-and-pr-report.js
vendored
2
website/scripts/get-bug-and-pr-report.js
vendored
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue