Update branch protection instructions for different GitHub versions - #45657
Conversation
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 linksNote: Please update the URL for your staging server or codespace. The table shows the files in the
Key: fpt: Free, Pro, Team; ghec: GitHub Enterprise Cloud; ghes: GitHub Enterprise Server 🤖 This comment is automatically generated. |
subatoi
left a comment
There was a problem hiding this comment.
Thank you for spotting this and raising an issue and a fix, @ashis-baral, and for the correction for all versions. I'll get this merged now 👍
|
Thanks very much for contributing! Your pull request has been merged 🎉 You should see your changes appear on the site in approximately 24 hours. If you're looking for your next contribution, check out our help wanted issues ⚡ |
|
@subatoi Thank you so much for the review and for getting this merged! 🙌 I really appreciate it. Glad I could help get this corrected across all versions! 😊 |
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).
This change ensures that the documentation matches the UI for each GitHub version and helps users locate the Branches settings when following the instructions.
Check off the following: