kodiak
kodiak copied to clipboard
"Merging blocked by GitHub requirements"
hmm what is this error message is trying to tell me? :)
If you click the "Detail" section what does the error message say?
Since then I merged manually and new PRs dont let me repro it :-/
In case it helps, the affected PR was https://github.com/staabm/rector-view-scope/pull/19
This error occurs when the PullRequest.mergeStateStatus
field is BLOCKED
, but Kodiak can't determine why.
Kodiak sets the error message here:
https://github.com/chdsbd/kodiak/blob/618993d7db1bf27847d9e938ccef28b084b8a13c/bot/kodiak/evaluation.py#L1026-L1031
I think I had a similar issue recently. My PR looked mergeable in the UI, but when I called the GitHub API, it said the PullRequest.mergeStateStatus
was BLOCKED
. Retrying my API request didn't resolve the issue. My guess is there's some consistency issue with the GitHub API.
If this happens again we can try opening a support ticket with GitHub.
I am running into this again. the "Details" link just points to https://kodiakhq.com/
@clxmstaab If possible, next time this happens don't merge the pull request. That way we can open an issue with GitHub Support. I don't think there's anything we can do right now since we don't have an example to show GitHub.