Notification when repository is deleted

Hi,

I would like to know if there’s a way in Github to receive a notification when a given repository is deleted?

Cheers

1 Like

I don’t believe GitHub will send you a notification for that currently. But, you could set up something with the GitHub API to make sure the repo still exists. 

Actually, you can setup a webhook to fire when the repo is deleted.

1 Like

Yes! The only constraint is that you would need to ask them to set that up for you if you aren’t an org/repo owner. In my mind, it seemed like the use case was for a repo that the person was not associated with or part of.