xv70
xv70

Reputation: 982

Personal github account linked to employer. Question about privacy

In order to acces my employers gitub repos, which are part of an organization in github, I linked my personal account to my employers organization account. Now every time I push to my personal repos I get the usual notification in my personal email linked to my account but I also get the same notification to my work email. This raises serious privacy concerns for me because I don't want my employer tracking my personal and private commits.

Is there a way to just notify in my work email when I push to work related repose and only to my personal account when I pushed a personal repos?

A way of handling this would be to decouple my github account from my employer and start one account only for link to my employer but this just seems silly. What are proper ways to deal with these privacy concerns? What are best practices?

Thanks.

Upvotes: 0

Views: 736

Answers (1)

bk2204
bk2204

Reputation: 76639

You can control the email address that's used for notifications by going to https://github.com/settings/notifications and choosing options under "Custom routing". You'll want to set the default for your account, which is under "Email notification preferences" above, to be only your personal account, and then set your employer's organization to go to your work email.

Note that if you add a personal access token or take other actions that affect account security, you'll be notified at all email addresses for your account, and that can't be disabled.

Upvotes: 2

Related Questions