Skip to content
Rulesets/RestrictActive

NameRestrict
Enforcement statusActive - This ruleset will be enforced

Targets

Which branches do you want to make a ruleset for?

Target branches

Branch targeting criteria

  • All branches

Rules

Which rules should be applied?
Branch rules
Restrict creationsOnly allow users with bypass permission to create matching refs.
Restrict deletionsOnly allow users with bypass permissions to delete matching refs.
Require a pull request before mergingRequire all commits be made to a non-target branch and submitted via a pull request before they can be merged.
Block force pushesPrevent users with push access from force pushing to refs.