I'm trying to create a simple rule to protect the main branch of a repository but it results in Rule is invalid. I am the creator of the repo. Using GitHub Enterprise Server 2.22.6.
What am I missing?
Steps:
- Settings
- Branches
- New Rule
Name the ruleEnter branch name to protect (answer)- Select
Require pull request review before merging
- Create
Error: Rule is invalid

