Just leaving the organization is not enough.

This might be very niche, but I did most of the work of my previous job in open source repositories.

In practice, that means that most of the issues and pull requests I was involved in where in open repositories.

When you leave a GitHub organization and your work is on private repositories, you are pretty much “free”: no more notifications or anything related to it.

But on open repositories, you still get notifications on issues and pull requests you were participating in.

It’s not too bad, but when you are already swamped in notifications, things add up.

To fix this, I asked Copilot to write me a shell script that could unsubscribe from all the issues and pull requests, and close any remaining pull requests I had open1.

The script is on a Gist.

Grab the script!

That’s it. Just a quick tip. See ya!


  1. This is mostly so GitHub don’t show them on my homepage anymore. Code is still there, and they can get the .patch and recreate the PR if they decide they need it. ↩︎