LoginSignup
0
0

More than 3 years have passed since last update.

Githubのプルリク時に発生するエラー「You can't perform that action at this time.」の解決法

Posted at

起きた問題

laravelで掲示板らしきものをgithubで管理しながら、制作していた時に急にプルリクができなくなってしまった。

環境

dockerとlaravelとgithub

発生したエラー

dockerコンテナの外から

git add .
git commit -m "コミット名"
git push origin "ブランチ名"

をし、github上でプルリクをしようとしたが、
スクリーンショット 2020-07-15 13.01.16.png
上記の赤枠内の部分が表示されない。仕方なく、
スクリーンショット 2020-07-15 0.56.48.png
黒枠からプルリクを選択→create pull requestを選択

Pull request creation failed. Validation failed You can't perform that action at this time.

というエラーがgithub上に出力された。

原因

制作した掲示板はgithubログインできる使用だったのだが、その掲示板に今ログインしているuserとプルリクしたgithubのアカウントが異なっていたためと思われる。

解決策

掲示板をプルリクしたいgithubアカウントでログインし直すと解決できた。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0