Can I use branch protection rules if all members in the team have github education? #191157
Replies: 6 comments 2 replies
-
|
No, because if it’s in a GitHub organization, having GitHub Education on each of the members’ personal accounts does not enable branch protection for the organization’s private repos. For org-owned private repos, branch protection requires GitHub Team or Enterprise. The free org plan only fully supports those features on public repos. If this is for a class, the easiest workaround is to have a teacher apply for GitHub Education for teachers, which gives your org GitHub Team for free. Alternatively, you can host the repo under a personal account with GitHub Pro, which does support branch protection on private repos. |
Beta Was this translation helpful? Give feedback.
-
|
Thanks for posting in the GitHub Community, @Clarkson1415! We're happy you're here. You are more likely to get a useful response if you are posting your question in the applicable category, the Discussions category is solely related to conversations around the GitHub product Discussions. This question should be in the |
Beta Was this translation helpful? Give feedback.
-
|
Having GitHub Education on individual accounts doesn’t unlock branch protection for org private repos. You still need a paid org plan for that. But a simple workaround is to host the repo under your personal account (with Pro from education), invite your team, and then you can use branch protection there. |
Beta Was this translation helpful? Give feedback.
-
|
Yeah, I’ve actually been in the same situation during a uni project. Short answer: yes, you can use branch protection on private repos with GitHub Education, but not until your education benefits are fully approved. So yeah, what you’re seeing is normal. Once your education gets approved, you should be good to go without paying for seats. |
Beta Was this translation helpful? Give feedback.
-
|
Hey! Yes, GitHub Education (GitHub Pro for students) does include branch protection rules on private repositories — so once your education license is approved you'll have full access to them. While you wait the 72 hours, here are a couple of workarounds your team can use right now: 1. Branch naming conventions + team agreement 2. Make the repo public temporarily 3. Rulesets (newer alternative to branch protection) In short: yes, the Education license will solve your problem — just hang tight for the approval. |
Beta Was this translation helpful? Give feedback.
-
|
🕒 Discussion Activity Reminder 🕒 This Discussion has been labeled as dormant by an automated system for having no activity in the last 60 days. Please consider one the following actions: 1️⃣ Close as Out of Date: If the topic is no longer relevant, close the Discussion as 2️⃣ Provide More Information: Share additional details or context — or let the community know if you've found a solution on your own. 3️⃣ Mark a Reply as Answer: If your question has been answered by a reply, mark the most helpful reply as the solution. Note: This dormant notification will only apply to Discussions with the Thank you for helping bring this Discussion to a resolution! 💬 |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Discussion Type
Question
Discussion Content
Like it says, I want to use branch protection rules on a private repository, but we are students collaborating on a project. I can't find a clear answer anywhere and we don't want to have to pay for each seat just for branch protection rules. It is for a University project so we will apply for an education license anyway. But we have to wait 72 hours after applying anyway. so, I just want to know if anyone has a GitHub education account are you able to set branch rules on a private repository?
Beta Was this translation helpful? Give feedback.
All reactions