What happens when a repository gets taken down?

Hello GitHub Community,

What happens when a repository gets taken down (DMCA) and has a webhook subscribed to the repository event, would it get marked as deleted or would nothing happen?

2 Likes

Great question!

No notification is sent on the webhook because the repository isn’t deleted, only disabled. And since repositories that are disabled for DMCA reasons can be reinstated under various circumstances, we wouldn’t want subscribers to think that it was deleted.

I hope that helps!