Currently, the `condition` option for conditionally triggering a step can only look at the changeset of a commit. It would be great to have a condition based on files in the repo, not just changed ones.
This would do wonders for common shared pipelines configuration to be more modular and/or universal.
Example:
pipelines: <br> default:<br> - step:
name: Maven Deploy
script:
- mvn deploy <br> - step: <br> name: NPM Install <br> script: <br> - cd $NPM_DIRECTORY<br> - npm install<br> condition:<br> files:<br> includePaths:<br> # if any directory has a package.json<br> - "**/package.json"