Hi there,
I’m looking to test a locally-modified config.yml to avoid polluting the git log with my attempts, but it seems that both of the documented solutions don’t support workflows:
https://circleci.com/docs/2.0/examples/#section=configuration
https://circleci.com/docs/2.0/local-cli/
However, in the API docs I found a new API call: https://circleci.com/docs/api/#trigger-a-new-build-by-project-preview
It states “Workflows will be run or scheduled in the same way as when a webhook from source control is received.” This looks like what I needed!
However, when I make an API call to this endpoint, I get the following error:
“Unexpected parameter(s): :config, :notify”
So it seems this new endpoint doesn’t allow the local config to be included in the POST. Is there any way this could be allowed? Or is there some other way to do what I want?
Thanks!