ci: switch between branch and merge request pipelines to avoid duplication
See https://docs.gitlab.com/ci/yaml/workflow/#switch-between-branch-pipelines-and-merge-request-pipelines
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2504>
authored by