gh ruleset

Repository rulesets are a way to define a set of rules that apply to a repository. These commands allow you to view information about them.

Available commands


-R, --repo <[HOST/]OWNER/REPO>
Select another repository using the [HOST/]OWNER/REPO format


$ gh ruleset list
$ gh ruleset view --repo OWNER/REPO --web
$ gh ruleset check branch-name

See also