Pull requests not triggering build

There are really a lot of cases when user needs to trigger additional new build once PR was opened.

In our CI case environment is changing when user opened PR against different target branches.
Eg. environment differs depending on v1.3 in this case:

armab wants to merge 1 commit into v1.3 from feature/branching

You can’t know that ^^ v1.3 for PRs with 1 commit, because CircleCI reuses status from previous build, once you open PR.

Without this feature we have this case:

  • User opened PR and got OK green status
  • PR is merged and errored, because env is different

^^ BTW Travis has this option.

2 Likes