Skip to content

Commit

Permalink
tooling: don't add bots to authors list (#14411)
Browse files Browse the repository at this point in the history
  • Loading branch information
systay authored Nov 1, 2023
1 parent 54eedf8 commit 3e3437b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions go/tools/release-notes/release_notes.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 3e3437b

Please sign in to comment.