We have deprecated GitHub Services in favor of integrating with webhooks. This guide helps you transition to webhooks from GitHub Services. For more information on this announcement, see the blog post.
As an alternative to the email service, you can now start using email notifications for pushes to your repository. See "About email notifications for pushes to your repository" to learn how to configure commit email notifications.
Deprecation timeline
- October 1, 2018: GitHub discontinued allowing users to install services. We removed GitHub Services from the GitHub.com user interface.
- January 29, 2019: As an alternative to the email service, you can now start using email notifications for pushes to your repository. See "About email notifications for pushes to your repository" to learn how to configure commit email notifications.
- January 31, 2019: GitHub will stop delivering installed services' events on GitHub.com.
GitHub Services background
GitHub Services (sometimes referred to as Service Hooks) is the legacy method of integrating where GitHub hosted a portion of our integrator’s services via the github-services repository. Actions performed on GitHub trigger these services, and you can use these services to trigger actions outside of GitHub.
Finding repositories that use GitHub Services
We provide a command-line script that helps you identify which repositories on your appliance use GitHub Services. For more information, see ghe-legacy-github-services-report.
GitHub Services vs. webhooks
The key differences between GitHub Services and webhooks:
- Configuration: GitHub Services have service-specific configuration options, while webhooks are simply configured by specifying a URL and a set of events.
- Custom logic: GitHub Services can have custom logic to respond with multiple actions as part of processing a single event, while webhooks have no custom logic.
- Types of requests: GitHub Services can make HTTP and non-HTTP requests, while webhooks can make HTTP requests only.
Replacing Services with webhooks
To replace GitHub Services with Webhooks:
-
Identify the relevant webhook events you’ll need to subscribe to from this list.
-
Change your configuration depending on how you currently use GitHub Services:
- GitHub Apps: Update your app's permissions and subscribed events to configure your app to receive the relevant webhook events.