diff --git a/src/changelog.ts b/src/changelog.ts index 332d8d6..3ab129f 100644 --- a/src/changelog.ts +++ b/src/changelog.ts @@ -204,7 +204,8 @@ export default class Changelog { } let prUserLogin = commit.githubIssue?.user.login; - if (prUserLogin && !this.ignoreCommitter(prUserLogin)) { + let hasCustomLabel = commit.githubIssue && !commit.githubIssue.labels.map(l => l.name).includes(this.config.wildcardLabel); + if (prUserLogin && !this.ignoreCommitter(prUserLogin) || hasCustomLabel) { releaseMap[currentTag].commits.push(commit); } }