GitLab have just enabled triggering webhooks when a comment is edited, see: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/127169. This is creating an event that causes this error when trying to unmarshal the event into the gitlab.MergeCommentEvent structure.
GitLab have just enabled triggering webhooks when a comment is edited, see: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/127169. This is creating an event that causes this error when trying to unmarshal the event into the
gitlab.MergeCommentEvent
structure.It looks like the
string
type here is incorrect and should beint
: https://github.com/xanzy/go-gitlab/blob/f7ec87bca21a42faba6376d20992098500e7988c/event_webhook_types.go#L515Sample event snippet