still need to break out of that loop

This commit is contained in:
Florian Beisel 2024-01-15 11:04:08 +01:00
parent 6bdfd138e2
commit 48785100dc
Signed by: florian
GPG Key ID: 79ECA2E54996FF4D
1 changed files with 3 additions and 0 deletions

View File

@ -46,6 +46,9 @@ func GenerateChangelog(c *gitea.Client, owner string, repo string, lastRelease *
} else if len(pr.Labels) == 0 { } else if len(pr.Labels) == 0 {
githubactions.Warningf("PR #%d doesn't have any labels", pr.ID) githubactions.Warningf("PR #%d doesn't have any labels", pr.ID)
} }
if addedToChangelog {
break
}
} }
} }
} }