Improve getting started instructions for enabling code quality
This is a follow up issue from the discussion in #33747 (comment 228943029)
The instructions for setting up code quality on projects isn't clear. We should improve it. I attempted to add code quality checks to the gitlab-ui project using gitlab-ui!837 (merged) but that did not seem to work.
Merged from #28344 (closed)
Referring to https://docs.gitlab.com/ee/ci/examples/code_quality.html:
When you define your own pipeline, though, you may not have defined the proper stage for that template to run its jobs in. This will lead to invalid yaml: https://gitlab.com/xtofl/fixtopt/pipelines/58885647.
I can see this is hard to fix, but I propose the following:
- add a link to the code quality template, so I can browse it and check for myself.
- prefix the yml snippet with its basic requirements (by lack of intellisense)
Edited by James Heimbuck