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

Support author regex #21

Open
aaabramov opened this issue Nov 20, 2020 · 2 comments
Open

Support author regex #21

aaabramov opened this issue Nov 20, 2020 · 2 comments

Comments

@aaabramov
Copy link
Contributor

aaabramov commented Nov 20, 2020

If PR is merged on github website the author would be something like

123123123+original-username@users.noreply.github.com

I am not 100% when exactly this happens, but this prefix number is static per user (or by user+repo, I'll check it).

The idea is to support not only constant authors but also author email regex, e.g.:

\d+\+original-username@users\.noreply\.github\.com

I've already patched it in my mock repo, su if community will be interested in it, I'll open a PR.

@aaabramov
Copy link
Contributor Author

Seems that this email is consistent through all repos.
So we can simply add 123123123+original-username@users.noreply.github.com to constant author list.

@aaabramov
Copy link
Contributor Author

Okay, this thing really makes sense on github to keep author emails private.
https://docs.github.com/en/free-pro-team@latest/github/setting-up-and-managing-your-github-user-account/setting-your-commit-email-address

image

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

1 participant