Repository rulesets: User bypass and branch renaming

Published: (May 7, 2026 at 10:13 AM EDT)
2 min read

Source: GitHub Changelog

Add individual users as bypass actors

Add bypass search menu in GitHub repository rulesets, showing a search result for a user.

You can now add individual users as bypass actors on repository‑level rulesets through the UI, REST API, and GraphQL. If you’ve been creating dedicated teams or roles just to grant bypass access for a single person or service account, you can now skip that step and add accounts directly.

Rename branches covered by rulesets

Repository administrators can now rename a branch that’s covered by an organization or enterprise ruleset, as long as the new branch name remains within the scope of every ruleset that applied to the original name. This removes the need to involve an organization or enterprise administrator for routine renames (e.g., migrating from master to main) when the rename doesn’t change which rules apply.

Enterprise‑level setting

Enterprise-level setting to allow branch renames from repository administrators for rule‑protected repositories.

Organization‑level setting

Organization-level setting to allow branch renames from repository administrators for rule‑protected repositories.

  • The rename is allowed only when every organization‑level and enterprise‑level rule that applied to the original branch also applies to the new branch name.
  • If the new name would fall outside the scope of any applicable ruleset, the rename is blocked and an administrator at that level must perform it.
  • Organization and enterprise administrators can disable this capability in their settings.

To learn more, see the rulesets documentation.

0 views
Back to Blog

Related posts

Read more »

Upcoming deprecation of GPT-4.1

Deprecation Details We will deprecate the following model across all GitHub Copilot experiences including Copilot Chat, inline edits, ask and agent modes, and...

Claude Sonnet 4 deprecated

Deprecation Notice We have deprecated the following model across all GitHub Copilot experiences including Copilot Chat, inline edits, ask and agent modes, and...