diff --git a/src/release_notes/model/record.py b/src/release_notes/model/record.py index 9d62ea8c..344cff8d 100644 --- a/src/release_notes/model/record.py +++ b/src/release_notes/model/record.py @@ -105,11 +105,16 @@ def does_pr_mention_issue(self) -> bool: @property def authors(self) -> Optional[str]: + authors: list[str] = [] + for pull in self.__pulls: if pull.author is not None: - return pull.author + authors.append(f"@{pull.author}") - return None + if len(authors) > 0: + return None + + return ", ".join(authors) @property def contributors(self) -> Optional[str]: