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 + } } } }