From 794c8d77505afc8a13036ead89298e4eccab9f71 Mon Sep 17 00:00:00 2001 From: Donna Peplinskie Date: Tue, 17 Dec 2024 08:21:42 -0500 Subject: [PATCH] Decrease interaction count for Sensei to 5 --- .../src/tasks/gather-support-references/index.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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 );