

Take back control over your GitHub Notifications!
source link: https://xebia.com/blog/take-back-control-over-your-github-notifications/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

Take back control over your GitHub Notifications!
I notice a lot of people getting lost in their GitHub notifications. Here is what you can do to get some control back! The default settings send you emails for everything. A lot of people then create an email rule to move all those emails to a specific folder, which means they will never look at those emails again! With some tweaking you can make the notifications work for you.
If you want to see this in action, watch the video I created:
Intro
There are a couple of things at play when using notifications:- settings for how and where you want to receive the notifications (email, web, etc.)
- reasons for getting a notification
Step 1: check you settings on where you want to receive the notifications
Go to github.com/settings/notificationsAutomatic watching
Under this section you find two options, both of which I would like to control for each organization I am in. Unfortunately you cannot at the moment. By default these checkboxes are checked, which means that you will receive notifications for all the repositories you have write settings to. If you are an admin, or like me a trainer: you will get a lot of notifications, so it’s often a good idea to turn this off. In my case, I am one of the trainers who use an organization during these trainings and give our trainees a repository each to work in. Since we are admins on the org, we would get write access to each repo, meaning a notification for each issue and pull request that happens in it! Given that one of the exercises is to enable Dependabot on a test repository, that is a lot of noise for me! The other setting in here is for all the teams that you are added to. If your team uses discussions in GitHub to reach out to each other, this setting is often very useful to leave on.Participating and watching
These settings define the medium used for notifying you: email, or through the UI. Since the emails do not work for these (you can use the notifications as a personal backlog if you use the UI and not through mail), if always configure this to only use the UI (web and mobile). For triaging on the go I usually use the mobile app and then the things I really need to work on stay in the notifications list. Every once in a while I go through them and act where needed.Dependabot alerts
With this setting the places where the notifications from Dependabot alerts (‘you have a vulnerable dependency’) are visible. You can then still configure it to also send you an email:- when the vulnerability alert is created
- and / or once a week as a digest
Actions
With these settings you can tell GitHub how to send you notifications for your workflows. Then you can tune that down a bit to only send notifications for failed workflows. I really wish they will improve this feature so that it cooperates with me looking in the UI to see if I have already watched the workflow fail: often during the creation of the workflow, you are already working in the UI to check the logs and fix them. After a while you find 40 notifications, for all the failed runs you have already looked at. I’d rather only have one notification for each failed run that I have not yet seen.  the repo (and thus get a notifications for anything that happens in that repo), or havesubscribed
to specific pull requests or issues. In the lower left hand side of the notifications view there is a small link ‘manage notifications’ which will give you this popup: Watched repositories and subscribed to PR’s and issues
With ‘watched repositories’ and ‘subscribed’ you can see which repositories you are watching and which pull requests or issues you are subscribed to. Since the watched repositories give the most notifications, you want to start here: Go through the list of repositories and figure out if you really need to be watching for every thing that happens in it. Often you want to be notified on participating and @mentions. To turn them off, use the ‘Ignore’ settings for that repository. The power option here is the ‘Custom’ setting: Now you can really configure for what things you want to be notified. So this is somewhere between the ‘All activity’ and ‘Participating and watching’ settings in.Why did I get this notification?
You can go to the notification and click on it. That will bring you to PR / issue / discussion that was the reason the notification was sent. The UI tries to help you figure out why you are receiving it: Hope this helps making your GitHub notifications more manageable. If you have any follow up questions, leave them in the comments below!
Recommend
-
8
Take control of your e-mail now or suffer later There are a bunch of questions that people should start asking themselves, in light of these reports that their Google accounts have been shut down for one reason or another. How mu...
-
7
Take Control of Your Cloud DataWebsite Cookie PolicyJoyent uses cookies to personalize content, provide enhanced and more personal features on our website, and to capture information such as browser history so we can improve...
-
6
Comment Let’s properly smash EU rules to take back control of our data This is an exciting time for the UK to write new and effective data laws for the world to follow
-
4
Focus LauncherTake back control of your phone
-
11
Roadmap – Schluss 1 Wave 1
-
6
Take back control of your subscriptionsRanked #13 for todayLutinoTake back control of your subscriptionsFree O...
-
7
Guest How to take back control of your data in a connected IoT world
-
7
Take back control of your data privacySort by: Hello! 👋 I am not a creator of this app but I thought it would be very relevant, therefore, I wanted to share it with you! Incogni helps you take back control of yo...
-
6
Permission SlipOne app to take back control of your dataIt’s no secret that a huge number of companies are collecting, buying and selling data about us. Find out exactly what info...
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK