Frontend: gitlab-ci.yml JSON Schema validation doesn't correctly lint `when` condition
What does this MR do and why?
The Ci schema does not seem to support ENUM values for statuses instead of strings. This MR fixes this problem.
Screenshots or screen recordings
| header | header |
|---|---|
How to set up and validate locally
-
Navigate to
/namespace/project/-/ci/editor -
Add the following config:
-
Notice that there are no errors.
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Related to #375248 (closed)