fix(dev-infra): remove bots from special thanks section (#42697)
With this change we remove known used bots from special thanks section in the changelog. PR Close #42697
This commit is contained in:
parent
f29fe5ced0
commit
8528073f6c
|
@ -5546,7 +5546,12 @@ _%>
|
|||
_%>
|
||||
|
||||
<%_
|
||||
const authors = commits.filter(unique('author')).map(c => c.author).sort();
|
||||
const botsAuthorName = ['dependabot[bot]', 'Renovate Bot'];
|
||||
const authors = commits
|
||||
.filter(unique('author'))
|
||||
.map(c => c.author)
|
||||
.filter(a => !botsAuthorName.includes(a))
|
||||
.sort();
|
||||
if (authors.length === 1) {
|
||||
_%>
|
||||
## Special Thanks:
|
||||
|
|
|
@ -70,7 +70,12 @@ _%>
|
|||
_%>
|
||||
|
||||
<%_
|
||||
const authors = commits.filter(unique('author')).map(c => c.author).sort();
|
||||
const botsAuthorName = ['dependabot[bot]', 'Renovate Bot'];
|
||||
const authors = commits
|
||||
.filter(unique('author'))
|
||||
.map(c => c.author)
|
||||
.filter(a => !botsAuthorName.includes(a))
|
||||
.sort();
|
||||
if (authors.length === 1) {
|
||||
_%>
|
||||
## Special Thanks:
|
||||
|
|
Loading…
Reference in New Issue