Skip to content

Commit 4fa7b57

Browse files
committed
Fix auto-assignment not filtering out author.
1 parent ca14859 commit 4fa7b57

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/handlers/assign.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -682,7 +682,9 @@ fn candidate_reviewers_from_names<'a>(
682682
}
683683

684684
// Assume it is a user.
685-
candidates.insert(group_or_user);
685+
if filter(&group_or_user) {
686+
candidates.insert(group_or_user);
687+
}
686688
}
687689
Ok(candidates)
688690
}

0 commit comments

Comments
 (0)