Skip to content

Commit

Permalink
Adding PR user validation for generate_issue_content_providers (#39359)
Browse files Browse the repository at this point in the history
  • Loading branch information
amoghrajesh authored May 2, 2024
1 parent 1d504ca commit 599f520
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -2128,7 +2128,8 @@ class ProviderPRInfo(NamedTuple):
users: set[str] = set()
for provider_info in providers.values():
for pr in provider_info.pr_list:
users.add("@" + pr.user.login)
if pr.user.login:
users.add("@" + pr.user.login)
issue_content += f"All users involved in the PRs:\n{' '.join(users)}"
syntax = Syntax(issue_content, "markdown", theme="ansi_dark")
get_console().print(syntax)
Expand Down

0 comments on commit 599f520

Please sign in to comment.