# Github Status check behavior

**URL:** <https://discuss.circleci.com/t/github-status-check-behavior/26065>\
**Category:** Bug Reports\
**Created:** [October 27, 2018, 7:02am UTC](https://discuss.circleci.com/t/github-status-check-behavior/26065 "2018-10-27T07:02:31Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![debuggy](https://avatars.discourse-cdn.com/v4/letter/d/e5b9ba/32.png) [@debuggy](https://discuss.circleci.com/u/debuggy)\
**Post date:** [October 27, 2018, 7:02am UTC](https://discuss.circleci.com/t/github-status-check-behavior/26065/1 "2018-10-27T07:02:31Z")

</div>

Hi there,

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

```

```auto
 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?

---

<div class="post-metadata">

**Author:** ![FelicianoTech](https://sea2.discourse-cdn.com/circleci/user_avatar/discuss.circleci.com/felicianotech/32/21348_2.png) [@FelicianoTech](https://discuss.circleci.com/u/FelicianoTech)\
**Post date:** [October 30, 2018, 3:28pm UTC](https://discuss.circleci.com/t/github-status-check-behavior/26065/2 "2018-10-30T15:28:41Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/circleci/original/3X/5/1/511608acda8e85906e15909b57bd0a46c1dbe291.png) [@system](https://discuss.circleci.com/u/system)\
**Post date:** [November 12, 2018, 1:58am UTC](https://discuss.circleci.com/t/github-status-check-behavior/26065/3 "2018-11-12T01:58:48Z")

</div>

Closed on November 12, 2018, 1:58am UTC

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