From c18a75a43eb4f29195d11c5456c0332a9e9c1d7b Mon Sep 17 00:00:00 2001 From: Laura Flores Date: Fri, 5 May 2023 18:06:30 +0000 Subject: [PATCH] script: handle a corner case for author in cherry-picked PRs Signed-off-by: Laura Flores --- src/script/ceph-release-notes | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/script/ceph-release-notes b/src/script/ceph-release-notes index 2ac50e798ec38..1c01154f0901a 100755 --- a/src/script/ceph-release-notes +++ b/src/script/ceph-release-notes @@ -218,6 +218,8 @@ def make_release_notes(gh, repo, ref, cherry_picks, plaintext, html, markdown, v for author in re.findall( "Signed-off-by:\s*(.*?)\s*<", message ): + if author == "[Your Name]": + continue authors[author] = 1 if authors: author = ", ".join(authors.keys()) -- 2.39.5