Skip to content

Commit 4c7a145

Browse files
One more update
Signed-off-by: Lukasz Gryglicki <lgryglicki@cncf.io> Assisted by [OpenAI](https://platform.openai.com/) Assisted by [GitHub Copilot](https://github.com/features/copilot)
1 parent e47e635 commit 4c7a145

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

cla-backend/cla/models/github_models.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2649,9 +2649,11 @@ def check_run_render_key(user_commit_summary):
26492649
author_id = getattr(user_commit_summary, "author_id", None)
26502650
author_login = str_strip_lower(getattr(user_commit_summary, "author_login", None))
26512651
author_email = str_strip_lower(getattr(user_commit_summary, "author_email", None))
2652+
author_name = str_strip_lower(getattr(user_commit_summary, "author_name", None))
2653+
26522654
if author_id is not None or author_login or author_email:
2653-
return (author_id, author_login, author_email)
2654-
return (None, "", "", str_strip_lower(getattr(user_commit_summary, "author_name", None)))
2655+
return (author_id, author_login, author_email, "")
2656+
return (None, "", "", author_name)
26552657

26562658
def update_pull_request(
26572659
installation_id,

0 commit comments

Comments
 (0)