LoginSignup
2
3

More than 5 years have passed since last update.

[GitHub] PRを投げたあとにベースのブランチが更新されたのに、「Update Branch」ボタンが表示されないとき

Last updated at Posted at 2018-12-05

Screen Shot 2018-12-05 at 15.22.16.png

こういうやつ。
おかしいな...

ブランチごとにステータスチェックの設定が必要らしい

この「PRブランチがベースブランチに対して最新になっているかどうかのチェックを行う」という Required Status という機能は Protected Branchのみで利用できる機能らしく、ブランチごとの設定が必要。

今までは設定がOnになっていたのに...と思ったら、masterブランチではOnになっていて今回のPRを出したベースブランチの設定ではOffになっていた。

設定する場所

Screen Shot 2018-12-05 at 15.28.29.png

の Branch protection rules でできるようです。

参考記事

2
3
1

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
2
3