We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9f21432 commit c327018Copy full SHA for c327018
ecosystem/plugin-git/src/node/utils/getContributors.ts
@@ -23,4 +23,13 @@ export const getContributors = async (
23
email,
24
commits: Number.parseInt(commits, 10),
25
}))
26
+ .filter((item, index, self) => {
27
+ // If one of the contributors is a "noreply" github address, and there's
28
+ // already a contributor with the same name, it is very likely a duplicate,
29
+ // so it can be removed.
30
+ if (!item.email.endsWith('@users.noreply.github.com')) {
31
+ return true
32
+ }
33
+ return index === self.findIndex((t) => t.name === item.name)
34
+ })
35
}
0 commit comments