Steps to reproduce:
- Create incorrectly nested filter in Workflow, e.g.:
- notify_production:
requires:
- post_process
- stop_redundant_versions
filters:
only:
- master
- Run
circleci config validate -c .circleci/config.yml
- Start Workflow
What happens: validator reports config file is valid
, but it fails on CircleCI with:
We weren’t able to start this workflow.
Encountered errors trying to create workflows from this config: Config does not conform to schema: {:workflows {:build-and-deploy {:jobs [nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil {:notify_production_complete {:filters {:only disallowed-key}}}]}}}
For more examples see the Workflows documentation.
What should happen: validation should fail