We have our repo on bitbucket and we’ve set up Circle CI to only run builds that have active pull requests. On the first build per pull request, the build fails since Circle fails to recognize that it should run on Circle 2.
Sample build here: https://circleci.com/bb/zaptag/zapsrc/3748
Rebuilding does not work. The workaround has been to issue a new commit (possibly amending the last one).