Skip to content

Rename policy setting to preventing_pushing_and_force_pushing

Martin Čavoj requested to merge 420629-rename-policy-setting into master

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.

Slack (internal)

Screenshots or screen recordings

YAML preview matches UI label CleanShot_2023-11-03_at_10.30.47_2x
YAML editor autocompletion CleanShot_2023-11-03_at_10.33.06_2x

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Related to #420629 (closed)

Edited by Martin Čavoj

Merge request reports

Loading