Skip to content

Update branch protection instructions for different GitHub versions - #45657

Open
ashis-baral wants to merge 1 commit into
github:mainfrom
ashis-baral:branches
Open

Update branch protection instructions for different GitHub versions#45657
ashis-baral wants to merge 1 commit into
github:mainfrom
ashis-baral:branches

Conversation

@ashis-baral

@ashis-baral ashis-baral commented Aug 29, 2026

Copy link
Copy Markdown
Contributor

Why:

Closes: #45656

What's being changed (if available, include any code snippets, screenshots, or gifs):

Updates the Creating a branch protection rule instructions to use version-specific text for the repository settings sidebar.

"Code, planning, and automation" for GitHub Free, Pro, Team (FPT), and GitHub Enterprise Cloud (GHEC).

"Code and automation" for GitHub Enterprise Server (GHES).

branch protection

This change ensures that the documentation matches the UI for each GitHub version and helps users locate the 分支 settings when following the instructions.

Check off the following:

  • A subject matter expert (SME) has reviewed the technical accuracy of the content in this PR. In most cases, the author can be the SME. Open source contributions may require an SME review from GitHub staff.
  • The changes in this PR meet the docs fundamentals that are required for all content.
  • All CI checks are passing and the changes look good in the review environment.

@github-actions github-actions Bot added the triage Do not begin working on this issue until triaged by the team label Aug 29, 2026
@github-actions

Copy link
Copy Markdown
Contributor

How to review these changes 👓

Thank you for your contribution. To review these changes, choose one of the following options:

A Hubber will need to deploy your changes internally to review.

Table of review links

Note: Please update the URL for your staging server or codespace.

The table shows the files in the content directory that were changed in this pull request. This helps you review your changes on a staging server. Changes to the data directory are not included in this table.

Source Review Production What Changed
repositories/configuring-branches-and-merges-in-your-repository/managing-protected-branches/managing-a-branch-protection-rule.md fpt
ghec
ghes@ 3.22 3.21 3.20 3.19 3.18 3.17
fpt
ghec
ghes@ 3.22 3.21 3.20 3.19 3.18 3.17
from reusable
repositories/configuring-branches-and-merges-in-your-repository/managing-rulesets/converting-branch-protections-to-rulesets.md fpt
ghec
fpt
ghec
from reusable

Key: fpt: Free, Pro, Team; ghec: GitHub Enterprise Cloud; ghes: GitHub Enterprise Server

🤖 This comment is automatically generated.

@ashis-baral ashis-baral changed the title Update repository-branches.md Update branch protection instructions for different GitHub versions Aug 29, 2026
注册 for free to join this conversation on GitHub. Already have an account? 登录 to comment

标签

triage Do not begin working on this issue until triaged by the team

项目

None yet

Development

Successfully merging this pull request may close these issues.

Incorrect sidebar section name in branch protection rule documentation

1 participant