CI templates not running on development branches

Some recent changes to the CI config seem to be preventing CI templates from being applied properly on development branches. Affected templates:

  • Code-Quality
  • License-Scanning
  • Dependency-Scanning
  • SAST

Those templates seem to be working properly on master, for example: https://gitlab.com/gitlab-org/gitlab-ui/pipelines/137907284

But none of the recent pipelines seem to have run the corresponding CI jobs, e.g.: https://gitlab.com/gitlab-org/gitlab-ui/pipelines/137932158

This might be due to the changes from !1226 (merged) where we tried to prevent pipelines from running on branches that don't have a Merge Request open.

/cc @leipert @markrian