Pull request mergeable state

Hello,

I have been getting the following status for pull request:

"mergeable": null,
  "rebaseable": null,
  "mergeable_state": "unknown"

Though my pull request has conflicts.

Actually it should be valid one.

Any thoughts?

Hi @johnsonsamuel,

The unknown enum for mergeable_state means that the state is still being calculated: MergeableState.

Since mergeability is checked automatically after changes are pushed to a pull request’s head branch, you may be able to pause a few seconds then send the request again to get an updated state. Let us know if that helps.