01Chapter 1: What repository rulesets are and why they existThis chapter assumes you know basic Git branches and pull requests, understand GitHub organisations and repository roles, and can read simple JSON. You should also know that GitHub Actions workflows can publish status checks.2 min read
02Chapter 2: Choosing rules: restrictions, history and signaturesAssume you know Git branches, pull requests, GitHub Actions, and JSON. A ruleset combines a target, rules, bypass actors, and an enforcement status. This chapter focuses on rules that protect changes before they reach a protected branch.2 min read
03Chapter 3: Active, evaluate and disabled enforcementAssume you know Git branches, pull requests, JSON, and basic GitHub Actions. A ruleset’s enforcement status controls what GitHub does when a change violates it:1 min read