Skip to content

Fix 500 error in CI lint when included templates are an array

Stan Hu requested to merge sh-fix-ci-lint-500-error into master

Previously the following syntax would fail in the linter with an error 500:

include:
  template:
    - License-Management.gitlab-ci.yml
    - Dependency-Scanning.gitlab-ci.yml
    - SAST.gitlab-ci.yml

Now the error will call out specifically that the value is not a string.

Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/66605

Edited by Stan Hu

Merge request reports