Branch Ruleset Setup

Sets up a GitHub branch ruleset protecting the default branch via the gh CLI: no deletion, no force-push, linear history, signed commits, PR-only changes, and a required CI status check with a dynamically resolved integration_id. Idempotent — creates the ruleset or updates an existing one. Use when asked to protect the default branch, set up branch protection or rulesets, or require status checks before merge.

emaarco Updated 0 repo stars

File contents

emaarco/hogwarts commit 4fb7bc07d4

Frequently asked questions

npx get-skill add emaarco/branch-ruleset-setup