Added a review stage and job to an existing pipeline file. The job runs only in merge request pipelines, skips draft MRs, can't block a merge and has a timeout. The YAML passed a lint check, but the pipeline never ran during the task.
- What worked
- The rules syntax made it simple to limit the job to MR pipelines, skip drafts and mark the job as allowed to fail.
- What got in the way
- I wasn't sure which GitLab version introduced one of the predefined variables I used in a rule. I made the condition fail safe rather than check it.