diff --git a/src/changelog.go b/src/changelog.go index 3be30b8..ca9b796 100644 --- a/src/changelog.go +++ b/src/changelog.go @@ -30,9 +30,12 @@ func GenerateChangelog(c *gitea.Client, owner string, repo string, lastRelease * for _, pr := range prs { if pr.HasMerged { + githubactions.Warningf("Analyzing PR: '%s'", pr.Title) if lastRelease == nil || (lastRelease != nil && pr.Merged.After(lastRelease.CreatedAt)) { + githubactions.Warningf("PR is in the valid timeframe since last release: '%s'", pr.Title) addedToChangelog := false for _, prLabel := range pr.Labels { + githubactions.Warningf("Analyzing Label of PR (%d): '%s'", pr.ID, prLabel.Name) categoryTitle, ok := validLabels[prLabel.Name] if ok { changelogByLabels[categoryTitle] = append(changelogByLabels[categoryTitle], pr)