> ## Content Index
> Fetch the complete content index at: https://orbiorbi.com/news/llms.txt
> Use this file to discover other available public pages before exploring further.

# GitHub 支持批量迁移分支保护为规则集
- URL: https://orbiorbi.com/news/hot/github-bulk-branch-protection-ruleset-import/
- Published: 2026-10-20T18:06:21.000Z
- Updated: 2026-10-20T23:08:56.000Z
- Description: 据 GitHub 公告，用户现可一次将仓库全部分支保护规则转换为规则集，在确认前预览结果并选择生效状态。该能力适用于所有已支持规则集的仓库。
- Author: Orbis News
- Tags: #orbis-hot

据 GitHub 公告，用户现可一次将仓库全部分支保护规则转换为规则集，在确认前预览结果并选择生效状态。该能力适用于所有已支持规则集的仓库。

- 创建规则集后，可选择保留或删除原分支保护规则；预览会显示为保留原行为而拆分成多个规则集的情况。 [\[1\]](#hot-source-1)

## 来源与原文

- \[1\] GitHub · 2026-10-21 · [查看原文](https://github.blog/changelog/2026-10-20-bulk-migrate-branch-protections-to-rulesets-for-a-repository?ref=orbiorbi.com)  
GitHub 新增一次转换整个仓库分支保护规则的入口。

{"version":2,"hot":{"event\_id":"github-bulk-branch-protection-ruleset-import","group":"platform","count":1,"heat":20,"verified":"confirmed","firstSeen":"2026-10-20T18:06:21.000Z","lastSeen":"2026-10-20T23:08:42.251Z","sources":\[{"n":"GitHub","publisher":"GitHub","u":"https://github.blog/changelog/2026-10-20-bulk-migrate-branch-protections-to-rulesets-for-a-repository","say":"GitHub 新增一次转换整个仓库分支保护规则的入口。","tier":"T0","at":"2026-10-20T18:06:21.000Z"}\],"signals":\[\],"facts":\["创建规则集后，可选择保留或删除原分支保护规则；预览会显示为保留原行为而拆分成多个规则集的情况。"\]}}