From bda7205a2af74e6e9f7fa554410b59418cf3e56c Mon Sep 17 00:00:00 2001 From: Andres Taylor Date: Tue, 31 Oct 2023 16:57:25 +0100 Subject: [PATCH] tooling: don't add bots to authors list Signed-off-by: Andres Taylor --- go/tools/release-notes/release_notes.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/go/tools/release-notes/release_notes.go b/go/tools/release-notes/release_notes.go index 5bb03339245..1673d6a5160 100644 --- a/go/tools/release-notes/release_notes.go +++ b/go/tools/release-notes/release_notes.go @@ -201,6 +201,10 @@ func loadMergedPRsAndAuthors(name string) (pris []pullRequestInformation, author authorMap := map[string]bool{} for _, pri := range pris { login := pri.Author.Login + if strings.HasPrefix(login, "@app") { + // skip the bots + continue + } if ok := authorMap[login]; !ok { authors = append(authors, login) authorMap[login] = true