Skip to content

Commit

Permalink
build: remove bots from changelog special thanks
Browse files Browse the repository at this point in the history
(cherry picked from commit 4c1b4dd)
  • Loading branch information
alan-agius4 authored and clydin committed Apr 9, 2021
1 parent c477b65 commit c300d86
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion scripts/templates/changelog-special-thanks.ejs
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
<%
const counter = Object.create(null);
const botsAuthorName = ['dependabot[bot]', 'Renovate Bot'];
for (const commit of commits) {
const name = commit.authorName;
if (name) {
if (name && !botsAuthorName.includes(name)) {
counter[name] = (counter[name] || 0) + 1;
}
}
Expand Down

0 comments on commit c300d86

Please sign in to comment.