Skip to content

Documentation for manual GitHub integration setup is out-of-date - service hooks -> webhooks

In Gitter, when the following the link for configuring new integrations,

If one proceeds to instructions for GitHub,

and goes to instructions for manual setup, the instructions are out of date:

They probably need to be replaced with instructions for webhooks.

GitHub integration activity has stopped working for some people

It's probably related to the following but plenty of other rooms are still working fine,

January 31, 2019: GitHub will stop delivering installed services' events on GitHub.com.

https://developer.github.com/v3/guides/replacing-github-services/#deprecation-timeline

Reports:

Workaround

Room settings dropdown -> Integrations -> GitHub -> Configure manually

Now on GitHub's side, visit https://github.com/<owner>/<repo>/settings/hooks. Here is what the fields should look like on GitHub for manual webhook setup,

  • Payload URL: https://webhooks.gitter.im/e/xxx
    • Where xxx is the token from Gitter. You can also press Done on the Gitter configure step and get the full URL from the list of integrations
  • Content-type: application/json
  • Secret: N/A (no secret)

Relevant code

Gitter discussion: February 6, 2019 11:16 AM

Edited by Eric Eastwood