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

GitHub: should not try to create Webhook if secret has changed #357

Closed dregad closed 3 years ago

dregad commented 3 years ago

If the Webhook Secret field has been updated in the GUI but not saved in the DB, the Plugin should disable the Create Webhook button, as the code uses the stored value instead of the updated value and the created Webhook will have the old secret.