• Patrick Bajao's avatar
    Filter rules by target_branch in approval_settings · 6cd381eb
    Patrick Bajao authored
    With scoped approval rules, it's possible that all approval rules
    does not apply to an MR's target branch.
    
    When changing target branch of an MR, we need to know the rules
    that will be applicable for the MR before it changes. This adds
    that support via `target_branch` param.
    6cd381eb
approvable.rb 1.62 KB