Help
cancel
Showing results for 
Search instead for 
Did you mean: 
Copilot Lvl 2
Message 1 of 4

Notification when repository is deleted

Solved! Go to Solution.

Hi,

 

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

 

Cheers

3 Replies
Highlighted
Solution
Commander Lvl 1
Message 2 of 4

Re: Notification when repository is deleted

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. 

Highlighted
Copilot Lvl 2
Message 3 of 4

Re: Notification when repository is deleted

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

Highlighted
Commander Lvl 1
Message 4 of 4

Re: Notification when repository is deleted

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.