Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Included files can be a list #16

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

bobdoah
Copy link

@bobdoah bobdoah commented May 25, 2022

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.

Robert Williams added 4 commits May 4, 2022 14:58
The GitHub action fails on branch/PR builds, because it always pulls
the library from the master branhc.

Use a local path, and if not available fallback to the GitHub URL.
The included files can be a list of multiple files. This reduces
duplication of project references.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant