Using a plugin to modify a commit message from merge request

Aloha,

Does anyone know if it is possible to modify the commit message on a merge request done via the gui.

I am unsure what hook to use to get access to the merge request data before it is merged.