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 "ping" events trigger HTTP 400 response #382

Closed dregad closed 2 years ago

dregad commented 2 years ago

When the webhook to trigger checkin on push event is created, Github delivers a ping payload.

The SourceGithub plugin can't handle this type of payload since it does not contain any commits to process, and returns an HTTP 400 error Changeset information could not be loaded.

image