Branch Protection Rules on Private Repo #53683
Replies: 2 comments 1 reply
-
|
The team will need to create an org, license the correct number of contributors and invite them to the repo. So the individual accounts don't need a teams plan, just the team is responsible for that. You can read more here. |
Beta Was this translation helpful? Give feedback.
-
|
Hi @natemacfadden, No — collaborators do not need GitHub Teams accounts. Branch protection rules are enforced at the repository level, not at the individual user subscription level. Key point: Only the repo owner (or organization) needs to be on a plan that supports branch protection for private repositories. How it works in practice:
What collaborators actually see: They simply follow the rules enforced on the branch, such as:
They don’t need any paid subscription to participate. Simple way to think about it: Branch protection is like security rules on a building. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
To use branch protection rules on a private repo, it seems like one must upgrade to Github teams (or higher). Must all collaborators have a Github teams account? Or just the owner of the repo?
Beta Was this translation helpful? Give feedback.
All reactions