Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GitHub module ignores contributors with private email #72

Open
jkbszpg opened this issue Aug 4, 2022 · 2 comments
Open

GitHub module ignores contributors with private email #72

jkbszpg opened this issue Aug 4, 2022 · 2 comments

Comments

@jkbszpg
Copy link

jkbszpg commented Aug 4, 2022

When contributing code using the web interface GitHub can hide their real email and instead [email protected] is used

[email protected] is also supported by GitHub - https://github.blog/2017-04-11-private-emails-now-more-private/

Both email forms can be used from any git tool as well.

In current version these contributions are not counted

!commit.commit.author.email.endsWith('@users.noreply.github.com') &&

@IlanTSnyk
Copy link
Contributor

Hi @jkbszpg ,
We do not count any commits from emails that end with 'noreply.gthub.com' to keep in line with Snyk's policy to not count those (these email postfixes originate from UI commits from non company related users).
However, when the same user name is found twice with different emails (like [email protected] and [email protected]) we will indicate that the user is duplicate in the tool's output.

Hope that makes sense.
Thank you.

@jkbszpg
Copy link
Author

jkbszpg commented Aug 4, 2022

(these email postfixes originate from UI commits from non company related users).

not quite...

users can set their git desktop email to @users.noreply.github.com,
or interact with repository only via github web UI and never even have a git client installed.

In these cases, there will be no commits without @users.noreply.github.com for them anywhere in the system

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants