From 3e3437bab8e7892ad5f4fcb500e765eaa0c84477 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9s=20Taylor?= Date: Wed, 1 Nov 2023 07:04:35 +0100 Subject: [PATCH] tooling: don't add bots to authors list (#14411) --- 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