With gitlab the property to compare is "target_branch" instead of "ref".
With gitlab the property to compare is "target_branch" instead of "ref".