Setup Branch Protection
CommunityEnforce safe PRs with GitHub branch protection.
Authorbillynewport
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Configure GitHub branch protection for a DataSurface model repository to ensure PRs pass the DataSurface PR Validator before merging.
Core Features & Use Cases
- Two-step protection setup: First trigger the validator by creating an initial PR, then enable the required status check in a ruleset.
- Workflow-agnostic configuration: Supports both CLI (gh) and GitHub UI workflows for applying protection rules.
- Use Case: Protects DataSurface model repos by enforcing review and automated validation before merges.
Quick Start
Follow steps to set up branch protection: verify workflow exists, create an initial PR to trigger action, then configure the ruleset to require the DataSurface PR Validator to pass before merging.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: Setup Branch Protection Download link: https://github.com/billynewport/demo_cokub_model/archive/main.zip#setup-branch-protection Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.