Rename policy setting to preventing_pushing_and_force_pushing
What does this MR do and why?
This MR renames a policy setting prevent_force_pushing
to prevent_pushing_and_force_pushing
to address potential misunderstanding that the setting wouldn't apply to default branches, if the users choose branch_type: default
in the policy.
The feature is behind a feature flag which is disabled by default, so there's no breaking change.
Screenshots or screen recordings
YAML preview matches UI label | |
YAML editor autocompletion |
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Related to #420629 (closed)
Edited by Martin Čavoj