Managing rulesets for a repository
Rulesets help you to control how people can interact with branches and tags in a repository.
Who can use this feature?
Rulesets are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, and GitHub Enterprise Cloud. For more information, see "GitHub’s plans."
Push rulesets are available for the GitHub Team plan in internal and private repositories, and forks of repositories that have push rulesets enabled.
About rulesets
Rulesets help you to control how people can interact with branches and tags in a repository.
Creating rulesets for a repository
You can add rulesets to a repository to control how people can interact with specific branches and tags.
Managing rulesets for a repository
You can edit, monitor, and delete existing rulesets in a repository to alter how people can interact with specific branches and tags.
Available rules for rulesets
Learn which rules you can add to a ruleset to protect specific branches and tags in a repository.
Troubleshooting rules
Learn how to troubleshoot rulesets when you're contributing to a repository.