Differentiate between Gitlab webhook events

73 Views Asked by At

Is there a way to differentiate between Gitlab webhook events, specifically merge_request events with the action update.

It seems like the payload for (lets say) a Label change is the same as marking the MR as ready.

Just checking the values of the fields work_in_progress or draft does not seem sufficient, because an edit can also be made to a non-draft MR.

So my question is, what are the attribute indicators for "mark as ready"? Also interesting would be something similar for "resolved all threads".

Thanks in advance.

I am referencing following documentation: https://docs.gitlab.com/ee/user/project/integrations/webhook_events.html#merge-request-events

0

There are 0 best solutions below