Trigger build for branch only if .circleci/config.yml exists


Basically, this is ‘port’ of CircleCI 1.0 request: Don’t build if circle.yml doesn’t exist

I have a project with multi-build workflow (20+ jobs) and it is required to

  • spread filters: { branches: { only: [ develop, master ] } } across all build jobs, because branch filtering is not supported at workflow level
  • copy/maintain .circleci/config.yml across all branches to, hopefully, avoid triggering the workflow builds for gh-pages and such

Please, could there be a global configuration switch that says:
Do not build anything if .circleci/config.yml does not exist?


1 Like

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.