Cannot Include and Run Multiple CI Templates

Summary

Cannot Include and Run Multiple CI Templates. Only the last item will be included.

Steps to reproduce

Including multiple templates in a gitlab ci file. Then only the last include will run.

Include filenames available here: https://gitlab.com/gitlab-org/gitlab-ce/tree/master/lib/gitlab/ci/templates/Security

example ci file:

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

Only the last item will be included!

Relevant logs and/or screenshots

Further debugging by trying to override some of the variables in the template using the below code creates the following YAML error:

license_management:
  stage: test
jobs:license_management script can't be blank

So its as if the first include never happens.

Results of GitLab environment info

GitLab information Version: 12.0.3-ee Revision: 1b1872f9

Edited by Wayne Shelley