Constrain Scope of External Status Checks to Protected Branches
Proposal
Currently, regardless of the addition of protected branches to an External Status Check, the checks apply to all merge requests within a project.
This needs to be constrained to only apply to those checks which are applicable to each MR based on the protected branches list.
Implementation Plan
- Ensure webhooks are not fired if target branch doesn't match a protected branch, if any are set.
- Ensure /project/:project_id/status_checks only returns appropriate status checks.
Edited by Max Woolf