Skip to content

Fix all YAML warnings in gitlab project

Marcel Amirault requested to merge clean-up-yaml-warnings into master

What does this MR do and why?

The YAML warnings have slowly built up over the last few months, and we should clean them up. The main reason is that when the linter throws an error and fails the pipeline, it can be hard to see why the job is failing. For example: https://gitlab.com/gitlab-org/gitlab/-/jobs/3272724076

See also the comments about it being hard to see the problem:

This MR fixes all the warnings shown here: https://gitlab.com/gitlab-org/gitlab/-/jobs/3273266581

Screenshots or screen recordings

Screenshots are required for UI changes, and strongly recommended for all other merge requests.

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Marcel Amirault

Merge request reports