We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1668b6c commit 9f88c00Copy full SHA for 9f88c00
.github/workflows/scripts/pr_workflow.py
@@ -296,7 +296,10 @@ def issue_comment_label_actions(
296
297
def add_welcome_comment_set_assignee(self) -> None:
298
self.pr.create_issue_comment(body=WELCOME_COMMENT)
299
- self.pr.add_to_assignees(self.pr.user.login)
+ try:
300
+ self.pr.add_to_assignees(self.pr.user.login)
301
+ except UnknownObjectException:
302
+ LOGGER.warning(f"User {self.pr.user.login} can not be assigned to the PR.")
303
304
305
def main() -> None:
0 commit comments