CLDMV/.github v4 — Ruleset Generator

Generates GitHub Ruleset JSON for the three v4 branches. After downloading, import each in your consumer repo: Settings → Rules → Rulesets → New ruleset → "Import a ruleset".

See §9 of the v4 design doc for what each setting does.

Repo settings
Bot bypass is pre-added by default. With the checkbox above left on, the generated next.json / hotfixes.json already list your bot App in bypass_actors — no manual step needed. The v4 reset/merge workflows (§6.3, §7.2) push as the bot and would otherwise be blocked by non_fast_forward / require-PR.

If you opted out (or left the App ID blank), add it after import: open the imported ruleset → Bypass listAdd bypass → select your bot's GitHub App. master never needs bot bypass.

master.json — production branch


next.json — integration branch


hotfixes.json — hotfixes lane


Notes: