「ブランチの制限」にある「Minimum number of approvals」の値を「2」と設定して、Pull Requestを通じたブランチのマージする前に2名以上の承認を強制したいと考えております。しかし、実際には1名しか承認していないにも関わらず「merge」ボタンを押下して、マージを実行できてしまいます。どうしたら良いでしょうか。
「Minimum number of approvals」は承認人数の推奨値になっており、こちらを設定するとMergeする際にまだ承認人数が満たしていないとの警告文が出ても実際Mergeはできてしまう仕様になっております。
Merge Checkを強制するためには、プレミアム機能である「Prevent a merge with unresolved merge checks」をオンにする必要がございます。「ブランチの制限」>「Merge Settings」より上記の機能にチェックを入れ、お試しください。
Chung Jeon
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
0 comments