Skip to content

Update Code-Quality.gitlab-ci.yml to use `only.refs`

What does this MR do?

I noticed while working on https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/15761 that it's impossible to override the only attribute of the code_quality job template because it's using the basic only/except syntax, which takes precedence over the advanced syntax, making it impossible to override the default [tag, branches] to something more advanced.

Does this MR meet the acceptance criteria?

Conformity

Performance and Testing

Merge request reports