Add new params in protected branch creation
What does this MR do and why?
Add new params in protected branch creation
This commit adds code_owner_approval_required and allow_force_push param in protected branch creation
EE: true Changelog: added
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.
How to set up and validate locally
- To validate using UI, you need to take pull of branch: xanf-fix-default-branch-protection-default
- Go to Group->Settings->Repository
- Change default branch protection settings
- Create new project and check default protected branch settings.
Related to #408152 (closed)
Edited by Harsimar Sandhu