Github Status check behavior

Hi there,

I found a scenario which is confusing. In a github repo I added a branch limit to master with config like:
 branches:
   only:
     - master

However, I also want to run a status check in pull request when merging other branch to master. If I remained the branch config, the status checking is always pending unless I deleted the branch config above. Is this a default behavior or a bug?

That’s how that works. If you limit to master only, the the PR request branch, which isn’t master, isn’t running on CircleCI.

You’d need to either not require status checks via your repo, or my preferred option, build all branches.

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