mantisbt-plugins / source-integration

Source control integration plugin framework for MantisBT, including support for Github, Gitlab, Bitbucket, Gitea, Gitweb, Cgit, Subversion, Mercurial and more
http://noswap.com/projects/source-integration/
MIT License
181 stars 130 forks source link

Use AJAX to automate GitHub Webhook creation #302

Closed dregad closed 5 years ago

dregad commented 5 years ago

Following deprecation of GitHub Services (see #292), Webhooks are the new way to automate commits processing by the Source Integration plugin.

Creating Webhooks manually is cumbersome and error-prone due to the complexity of the Payload URL.

We should leverage the GitHub API to automate this with the click of a button in the plugin's Repository configuration.