diff --git a/projects/github-actions/repo-gardening/changelog/update-sensei-interaction-count b/projects/github-actions/repo-gardening/changelog/update-sensei-interaction-count new file mode 100644 index 0000000000000..1ed7c143826af --- /dev/null +++ b/projects/github-actions/repo-gardening/changelog/update-sensei-interaction-count @@ -0,0 +1,4 @@ +Significance: patch +Type: added + +Added new range for Sensei diff --git a/projects/github-actions/repo-gardening/src/tasks/gather-support-references/index.js b/projects/github-actions/repo-gardening/src/tasks/gather-support-references/index.js index 4836b2cb502b3..1fe15ebc63b42 100644 --- a/projects/github-actions/repo-gardening/src/tasks/gather-support-references/index.js +++ b/projects/github-actions/repo-gardening/src/tasks/gather-support-references/index.js @@ -264,7 +264,11 @@ async function addOrUpdateInteractionCountLabel( number, issueReferencesCount ) { - const ranges = [ 50, 20, 10 ]; + let ranges = [ 50, 20, 10 ]; + + if ( 'Automattic/sensei' === repo ) { + ranges = [ 5 ]; + } // Check if our issue has issues in one of the ranges where we want to label it. const issueRange = ranges.find( range => issueReferencesCount > range );