Creating webhooks - GitHub Docs

You can create webhooks to subscribe to specific events that occur on GitHub.