Skip to content

Commit

Permalink
Decrease interaction count for Sensei to 5
Browse files Browse the repository at this point in the history
  • Loading branch information
donnapep committed Dec 17, 2024
1 parent 3815cf5 commit 794c8d7
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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 );
Expand Down

0 comments on commit 794c8d7

Please sign in to comment.