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 4fb7bc0 6.5 KB Updated

File contents

emaarco/hogwarts/tree/main/plugins/felix-felicis/skills/branch-ruleset-setup commit 4fb7bc07d4

Frequently asked questions

npx skillmds@latest add emaarco/branch-ruleset-setup