pub fn ruleset_body(spec: &ProtectionSpec, actions_id: Option<u64>) -> ValueExpand description
The ruleset GitHub is asked for: default branch, PR required, the check required and pinned to the Actions App, no force-push, no deletion, and an empty bypass list.
Public so a client acting as the repository’s own admin (vgi repo init) asks GitHub for exactly the ruleset the bridge would.