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

Commit abe01ef

Browse files
Merge pull request #339 from jyn514/author
Don't ping file reviewers if they are the PR author (take 2)
2 parents 5335aa4 + 5e2434f commit abe01ef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

highfive/newpr.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -352,7 +352,7 @@ def get_to_mention(self, diff, author):
352352
mention_list = []
353353
for mention in to_mention:
354354
entry = mentions[mention]
355-
if entry["reviewers"] != author:
355+
if author not in entry["reviewers"]:
356356
mention_list.append(entry)
357357
return mention_list
358358

0 commit comments

Comments
 (0)