Skip to content

Commit c300d86

Browse files
alan-agius4clydin
authored andcommitted
build: remove bots from changelog special thanks
(cherry picked from commit 4c1b4dd)
1 parent c477b65 commit c300d86

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

scripts/templates/changelog-special-thanks.ejs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
<%
22
const counter = Object.create(null);
3+
const botsAuthorName = ['dependabot[bot]', 'Renovate Bot'];
34
45
for (const commit of commits) {
56
const name = commit.authorName;
6-
if (name) {
7+
if (name && !botsAuthorName.includes(name)) {
78
counter[name] = (counter[name] || 0) + 1;
89
}
910
}

0 commit comments

Comments
 (0)