Match syntax used by Marge-Bot
See GNOME/gnome-initial-setup@b12f252e (patch) for an example.
I wonder whether this should be made more generic and just scan the commit message for:
https://gitlab.gnome.org/{project}/-/(issue|merge_request)/(\d+)
?