Skip to content
Rulesets/Do not push to mainActive

NameDo not push to main
Enforcement statusActive - This ruleset will be enforced
Targets
Which branches do you want to make a ruleset for?

Target branches

Branch targeting criteria

  • Default
  • main
  • cla-signatures
Rules
Which rules should be applied?

Branch rules

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.
  • Require status checks to passChoose which status checks must pass before the ref is updated. When enabled, commits must first be pushed to another ref where the checks pass.
  • Block force pushesPrevent users with push access from force pushing to refs.
  • Require workflows to pass before mergingRequire all changes made to a targeted branch to pass the specified workflows before they can be merged.
    • Workflow configurations

      No workflow configurations found

Restrictions

Restrictions
  • Restrict commit metadataRestrict commit author email addresses, committer email addresses, commit message content, and other metadata
  • Restrict branch namesRestrict branch names
    Metadata restrictions