diff --git a/.github/generate_releasenotes.py b/.github/generate_releasenotes.py index e62c9e4..50ab128 100644 --- a/.github/generate_releasenotes.py +++ b/.github/generate_releasenotes.py @@ -103,8 +103,12 @@ def get_integration_commits(github, skip=True): continue if "\n" in msg: msg = msg.split("\n")[0] + if commit.author: + ath = commit.author + else: + ath = "Unknown" changes += CHANGE.format( - line=msg, link=commit.html_url, author=commit.author.login + line=msg, link=commit.html_url, author=ath ) return changes