【解決】Hang in there while we check the branch's statusエラー

【解決】Hang in there while we check the branch's statusエラー

エラー内容:Checking for the ability to merge automatically...Hang in there while we check the branch's status.

Githubでプルリクをマージしようとボタンを押したら、以下のような表示になり、何十分経っても変わらず・・・

Checking for the ability to merge automatically... Hang in there while we check the branch's status.

Checking for the ability to merge automatically...Hang in there while we check the branch's status.

Githubのサーバーの問題の可能性を考え、以下サイトからステータスチェックするも問題なし・・・

Github Status

解決方法

原因に関しては、何もわからないままなのですが、取り急ぎの解決方法として空のコミットを作成してプッシュするとマージできるようになりました!

% git commit --allow-empty -m "Empty commit"
% git push

参考サイト

以下のサイトを参考にさせていただきました。

私の場合、GitHub の障害後にこの問題に遭遇しました。プルリクエストの 1 つが停止してしまいました。 ・キャッシュの問題ではありませんでした。これまでGitHubにログインしたことのない新しいブラウザで試してみました。 ・新しい実際のコミットをプッシュしても問題は解決しませんでした。 ・新しいブランチ(既存のブランチから)と新しい PR を作成しても問題は解決しませんでした。 空のコミットを作成してプッシュすると、問題は解決しました。 git commit --allow-empty -m "Empty commit" git push

記事を書いた人

Matsuura

エンジニア

Matsuura

Anycloudでエンジニアしてます!主にFlutter・Typescript