Do not report the (renamed) Renovate bot as a contributor

This commit is contained in:
Jérémie Astori 2019-01-26 16:03:51 -05:00
parent 17fbf10909
commit bd5cbba03e
No known key found for this signature in database
GPG key ID: B9A4F245CD67BDE8

View file

@ -688,7 +688,7 @@ function dedupeEntries(changelog, items) {
// (with format `@username`) of everyone who contributed to this version.
function extractContributors(entries) {
const set = Object.values(entries).reduce((memo, pullRequest) => {
if (pullRequest.author.login !== "greenkeeper" && pullRequest.author.login !== "renovate-bot") {
if (pullRequest.author.login !== "renovate") {
memo.add("@" + pullRequest.author.login);
}