Cannot verify Fake email in GitHub - github

I have created a GitHub account and, I do not like sharing my email address publicly (I'm sick of Spam), so I followed GitHub's Keeping Your Email Address Private tutorial and everything worked fine up until the point where you have to verify the fake email you created.
So how do I verify this fake email that I created on GitHub?
I did check my real email account that is associated with my GitHub account incase they sent an email there but no, I have not received anything there. Since it is a fake email address, I thought, maybe I can just click verify, but no, that doesn't work either.

You don't verify the fake e-mail address. This is how it is suppose to work. Just go ahead and use the fake e-mail address with commits.
Update -
GitHub recently update the Keeping Your Email Address Private tutorial. The "Hiding your email for commits on the website" section has everything you need to know, and will credit your commits to you. This way you won't have unverified e-mail addresses anymore.

You don't have to verify your fake e-mail address to use it in commits and have those commits linked to your GitHub account.
You also don't have to create your own fake e-mail address. GitHub creates one for you when you turn on the "Keep my email address private" option on your email settings. Next to your primary e-mail address, you should see a message like this:
Because you have email privacy enabled, joe#example.com will be used for account-related notifications and joe#users.noreply.github.com will be used for web-based GitHub operations (e.g. edits and merges).
You can use that no-reply e-mail address as your fake e-mail address. See the e-mail addresses help page for more details, including information on the new style of fake e-mail addresses that include an id number. Those addresses will continue to work if you change your GitHub account name.

Related

How to set a hidden back-up email on Github?

I have a public email I use for git commits and I am trying to figure out if it's possible to add a hidden backup email to my account without having it be exposed.
See the Setting a backup email address section of the Github docs.
Use a backup email address as an additional destination for security-relevant account notifications and to securely reset your password if you can no longer access your primary email address.
This should, of course, be different from the emails you use for commits. From your profile, go to the Emails section, add a new email address and select it from the dropdown of the Backup email address section.
In addition, you may want to also check the Keep my email addresses private option to hide your email "when performing web-based Git operations (e.g. edits and merges) and sending email on your behalf."

How to change recipient of GitHub Action failure notification email?

If a GitHub repo has a GitHub action added, and that action fails, GitHub sends an automated email indicating that failure. How can I change the recipient of that email?
Background
My GitHub profile has my personal email address set as the primary email address, and my work email address added as a secondary. In my work's GitHub account I've created a new GitHub repo--one with a GitHub action that executes whenever a push occurs to the GitHub repo. GitHub settings are such that, when a push occurs and the action fails, GitHub sends an automated email indicating the failure. The problem is, when I push from my Git user (using my work email address) and the GitHub action fails, that email is sent to my personal email address, rather than my work email address. Both my work and I would like to keep all work-related email out of my personal email, if possible.
I'm not sure if the email is being sent to me because I created the repo, because I created the action, or because I initiated the push.
I realize I can additional recipients to this notification email, but that's not what I want right now.
Possible Solutions
Ideally, I'd like to change the recipient of these emails to any recipient(s) I want. Is that possible? If so, how would I approach that?
As a fallback, is there a way to simply change the recipient of these emails to my work email address, rather than my personal email address?
What I've Tried So Far
I've asked GitHub support about this, but haven't received a reply.
Check Settings: In my work repo, I don't seem to have permissions to check the settings of this repo. But I created a similar repo in my personal GitHub account, and was able to check its settings. There is a ‘Notifications’ section and an ‘Actions’ section. But nothing in either allows me to do what I want.
Thanks.
This worked for me
In your Github profile notification settings: https://github.com/settings/notifications
You can set the default notification email to one of those which are configured on your account.
Here is an example
There is also an interesting section in your case: Choosing where your organization’s email notifications are sent, in the Github Documentation that give more details about this.

Will changing my GitHub username update/remove attributions using the noreply email

If I change my username on GitHub, will my contributions still show commits from merged pull requests that are listed as using the email 123456+username#users.noreply.github.com? On the GitHub website it says
Git commits that were associated with your GitHub-provided noreply email address won't be attributed to your new username and won't appear in your contributions graph. If your Git commits are associated with another email address you've added to your GitHub account, including the ID-based GitHub-provided noreply email address, they'll continue to be attributed to you and appear in your contributions graph after you've changed your username.
I'm not really sure what that means, it seems contradictory to me. The commits I am concerned with were made from pull requests via GitHub's "Squash and merge" on the website (my requests merged by somebody else as well as somebody else's requests merged by me) and show up as 123456+username#users.noreply.github.com because I have email privacy enabled in account settings. I thought maybe it meant that you have to manually add the noreply email to your email addresses on the Email settings on GitHub, but doing this gives the message Error adding 123456+username#users.noreply.github.com: email is already in use.
I found the answer at https://help.github.com/en/github/setting-up-and-managing-your-github-user-account/setting-your-commit-email-address
Note: If you created your GitHub account after July 18, 2017, your GitHub-provided no-reply email address is a seven-digit ID number and your username in the form of ID+username#users.noreply.github.com. If you created your GitHub account prior to July 18, 2017, your GitHub-provided no-reply email address is your username in the form of username#users.noreply.github.com. You can get an ID-based GitHub-provided no-reply email address by selecting (or deselecting and reselecting) Keep my email address private in your email settings.
I think this is what I wanted - if you have the ID number at the start of the email then it is migrated with your account. This is confirmed further down the page:
If you use your GitHub-provided noreply email address to make commits and then change your username, those commits will not be associated with your GitHub account. This does not apply if you're using the ID-based GitHub-provided noreply address.
So the commits will remain as normal as long as your email has the ID at the start.

Why is GitLab sending notification emails to a different email address?

GitLab sends notification emails to the email address I used during registration. Can I change the target email address GitLab uses to send email notifications to?
I've already tried setting/changing my email address on my "Profile settings" but it's used only for display; it doesn't change where GitLab sends notification emails to.
OK it seems I figured out the causing issue.
As it turns out the "Email" property on my "Profile settings" does specify where GitLab sends notification emails. The problem was a bit more elaborate.
There were two GitLab accounts that had the same username! Both belonged to me; one was a regular user and the other was an admin. The two users had different email addresses; just their usernames were the same.
This caused some kind of an anomaly; even though an action was triggered for the admin user the notification email went to the email address of my other user; strange indeed.
I changed the username of one of my users to make them unique. After that, everything worked well.
Hope this will help someone in the future.

Are there other methods than emailing a verification link to verify account info?

At the moment, we are sending an email address verification email each time someone signs up. This email has been causing a number of problems: people don't get it, they just don't click the link in the email or the email gets block by spam or some other method. We are working on resolving the spam issue, although I don't think it's possible to completely resolve it.
I'm wondering what other methods there might be for verifying and email address. Is there any other way to verify an email address without sending an email? Or is there another method of ensuring people aren't signing up with fake information?
I'm not sure if there are other good methods, but sending an email and having them click a link is definitely the simplest and most accurate.
A main feature to sending that email, is for the person to verify that it's actually them that requested it.
The only way to verify someone owns an email address is to have him use it.
As for verifying users don't enter fake information - not even sending an email can help. With so many disposable/temporary email services out there (like GuerrillaMail) , someone can fill up your form with false info, post a temp email address, log to that address and click the link in your email - manually or programatically.
You have to trust your users to come back for your content, and ignore spammers.
strikeiron.com offers a paid web service to verify if an email exists without sending a message to that email. try it out here is the link: strick
http://www.strikeiron.com/Catalog/ProductDetail.aspx?pv=5.0.0&pn=Email+Verification