Build is only triggered when user starts safe merge for a merge request in SpaceCode.
Safe merge lets you execute quality checks for the merge request on the merge commit in the temporary merge branch, before actually integrating the merge request into the main branch. See SpaceCode documentation for more information about safe merge.