Skip to content
Rulesets/Prevent code merge to master/main without pull request.Active

NamePrevent code merge to master/main without pull request.
Enforcement statusActive - This ruleset will be enforced

Target branches

Branch targeting criteria

  • main
  • master

Rules

Which rules should be applied?

Branch rules

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.

Restrictions

No restrictions have been added