]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
script: handle a corner case for author in cherry-picked PRs
authorLaura Flores <lflores@redhat.com>
Fri, 5 May 2023 18:06:30 +0000 (18:06 +0000)
committerLaura Flores <lflores@redhat.com>
Fri, 5 May 2023 18:06:30 +0000 (18:06 +0000)
Signed-off-by: Laura Flores <lflores@redhat.com>
src/script/ceph-release-notes

index 2ac50e798ec386fd074537a4f6269d29bcaba979..1c01154f0901a4374cf9fd5b9b9d9ffcc805a513 100755 (executable)
@@ -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())