This version of GitHub Enterprise Server will be discontinued on 2026-08-25. Discontinued releases are not supported. No patch releases will be made, even for critical security issues. For better performance, improved security, and new features in GitHub Enterprise Server, see Overview of the upgrade process. For help with the upgrade, GitHub Enterprise Support.
Managing rulesets for a repository
Rulesets help you to control how people can interact with branches and tags in a repository.
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.