We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 998823f commit 021250fCopy full SHA for 021250f
pydocteur/utils/state_actions.py
@@ -39,7 +39,7 @@ def version():
39
def replace_body_variables(pr: PullRequest, body: str):
40
logging.debug("Replacing variables")
41
author = pr.user.login
42
- reviewers_login = list(set([review.user.login for review in pr.get_reviews()]))
+ reviewers_login = {review.user.login for review in pr.get_reviews()}
43
new_body = body.replace("@$AUTHOR", "@" + author)
44
if not reviewers_login:
45
reviewers_login = ["JulienPalard", "Seluj78"]
0 commit comments