Skip to content
This repository was archived by the owner on Mar 14, 2023. It is now read-only.

Don't ping file reviewers if they are the PR author (take 2) #339

Merged
merged 1 commit into from
Jun 21, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion highfive/newpr.py
Original file line number Diff line number Diff line change
Expand Up @@ -352,7 +352,7 @@ def get_to_mention(self, diff, author):
mention_list = []
for mention in to_mention:
entry = mentions[mention]
if entry["reviewers"] != author:
if author not in entry["reviewers"]:
mention_list.append(entry)
return mention_list

Expand Down