From 794c8d77505afc8a13036ead89298e4eccab9f71 Mon Sep 17 00:00:00 2001 From: Donna Peplinskie Date: Tue, 17 Dec 2024 08:21:42 -0500 Subject: [PATCH 1/2] 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 ); From b98e0694c6f7642fa1863c2eb501d045bcfd1fba Mon Sep 17 00:00:00 2001 From: Brandon Kraft Date: Tue, 7 Jan 2025 15:50:13 -0600 Subject: [PATCH 2/2] Changelog --- .../repo-gardening/changelog/update-sensei-interaction-count | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 projects/github-actions/repo-gardening/changelog/update-sensei-interaction-count 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