I’d like to conditionally include a file based on some criteria. I’m creating a shared pipeline definition and I’d like to define things and run things only if the project the pipeline it’s running is has specific variables set or if a file exists in the directory. For example, I have language specific yaml files, I’d like to
include: - local: "languages/docker.yaml" when: exists(Dockerfile)
Or something along those lines; is there a way to do what I’m looking for?