From 48785100dc779f90eb95a1ec23d1522fcc56f65f Mon Sep 17 00:00:00 2001 From: Florian Beisel Date: Mon, 15 Jan 2024 11:04:08 +0100 Subject: [PATCH] still need to break out of that loop --- src/changelog.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/changelog.go b/src/changelog.go index 3d7d0c6..3be30b8 100644 --- a/src/changelog.go +++ b/src/changelog.go @@ -46,6 +46,9 @@ func GenerateChangelog(c *gitea.Client, owner string, repo string, lastRelease * } else if len(pr.Labels) == 0 { githubactions.Warningf("PR #%d doesn't have any labels", pr.ID) } + if addedToChangelog { + break + } } } }