From 5db1c78de74ac06fe454cfb6c9c5b2f0ca352764 Mon Sep 17 00:00:00 2001 From: Tomaae <23486452+tomaae@users.noreply.github.com> Date: Mon, 24 Jan 2022 15:09:00 +0100 Subject: [PATCH] Update generate_releasenotes.py --- .github/generate_releasenotes.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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