github GitHub Changelog ·

Automatically Migrate Branch Protection Rules to Repository Rulesets

governancegaarchitect
feature

GitHub has introduced a new feature that allows users to automatically convert existing branch protection rules into repository rulesets. This simplifies the migration to GitHub's more flexible and scalable policy framework, eliminating the need for manual rule recreation. The change helps users leverage advanced repository governance capabilities like pattern matching, layered rulesets, and fine-grained bypass permissions. This conversion tool is available in all repositories that support rulesets.

Features (1)
  • Automated Migration for Branch Protection Rules

    GitHub now provides a tool to convert existing branch protection rules into repository rulesets directly from repository settings. This helps users transition to GitHub’s more flexible policy framework, enabling advanced repository governance without manually recreating each rule.

Read the original announcement →

https://github.blog/changelog/2026-08-11-automatically-migrate-branch-protection-rules-to-repository-rulesets

Related releases