Use all_protected_branches in resolver
What does this MR do and why?
Use all_protected_branches in branch rules resolver to include group level protected branches in graphql responses.
MR acceptance checklist
Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
Screenshots or screen recordings
Before | After |
---|---|
![]() |
![]() |
How to set up and validate locally
- Enable the
group_protected_branches
feature flag - Create a group and a project within that group
- Create a protected branch for the group
- See the protected branch reflected under branch rules for the project (Settings -> Repository -> Branch Rules)
Related to #387649 (closed)
Edited by Jerry Seto