Skip to content

Commit

Permalink
Apply ignoreCommitters config to PR creators
Browse files Browse the repository at this point in the history
  • Loading branch information
nickschot committed May 3, 2024
1 parent a547462 commit 79aa3db
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/changelog.ts
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,10 @@ export default class Changelog {
releaseMap[currentTag] = { name: currentTag, date, commits: [] };
}

releaseMap[currentTag].commits.push(commit);
let prUserLogin = commit.githubIssue?.user.login;
if (prUserLogin && !this.ignoreCommitter(prUserLogin)) {
releaseMap[currentTag].commits.push(commit);
}
}
}

Expand Down

0 comments on commit 79aa3db

Please sign in to comment.