Add a filter to choose the target branch



To be able to run specific jobs for deployment or testing I could be nice to set a target branch.

Having conditions on the job don’t work with the current flow:

  • feature PR has been created (run unit test)
  • feature PR is merged into the branch develop (run unit test and deploy /* skipping e2e */)
  • deployment PR is made from develop to staging (run unit test, e2e test, and deploy)
    For the later CircleCI “think” all jobs have been run successfully.

If I could choose target branches I would put my e2e job test there.


Thanks for the suggestion, the best place to put feature requests is here: