Pull Requests builds use forked repo config file

When I open a PR the forked repo triggers a build CircleCI.

The problem is that the build triggered runs on my CircleCI project using the config file on the forked repo, which leads to errors on the builds, once the machine is configured differently and have different environment vars.

I noticed that if I disable my project then the builds triggered by the forked repo runs on their own CircleCI project.

Could somebody please help me on this? Maybe it is a setting that I am missing?

1 Like

I still have this issue with CircleCI 2.0 builds.

Before I disabled the CircleCI project for my fork, the build is only run in the CircleCI project for the fork.

https://circleci.com/workflow-run/c4e4b2a1-f75f-4c0e-8399-5f8fbe29e0b6

After I disabled the CircleCI project for my fork, the build is run in the parent repository, as expected.

https://circleci.com/workflow-run/2d636bcb-4808-43a8-9db1-feff0e1f5633

Whether a CircleCI project exists for a fork should not affect the pull request builds on the parent repository.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.