bgamari / dhall-gitlab-ci

A Dhall encoding of the GitLab CI configuration schema
BSD 3-Clause "New" or "Revised" License
46 stars 19 forks source link

Included files can be a list #16

Open bobdoah opened 2 years ago

bobdoah commented 2 years ago

The files included can be a list. This reduces duplication in a situation where you want to include multiple files from a single repository. For example:

include:
  - project: "gitlab-ci/templates"
    ref: master
    file:
      - "templates/MergeRequest-Pipelines.gitlab-ci.yml"
      - "templates/Common.gitlab-ci.yml"

is valid.