Organization defaults/templates for repositories (GitHub Enterprise) #13991
Replies: 7 comments 7 replies
-
This is a requirement on our side as well! |
Beta Was this translation helpful? Give feedback.
-
This might be of interest to people looking for such functionality and was recommended to us by our Github rep. We ended up implementing it for a 1000+ repos orgs and this work ok. Only issue is that the "dry-run" and the Cron based run take ~2 hours to run but the events based bits allow this to be a non-issue for now, just be sure that you implement it as two different Github App ( one for the reaction to events such as repos creation, branch protection modification, etc and another distinct one for events such as push and with the CRON env var ). Hope it help. |
Beta Was this translation helpful? Give feedback.
-
There's currently no way to set default merge strategy on GitHub in general, and I didn't find any feature requests for it either. So I made a feature request for it here: #20583 Please go vote and comment if you agree with the suggested feature(s) |
Beta Was this translation helpful? Give feedback.
-
Managing branch protections at the org is now available in public beta with repository rules. |
Beta Was this translation helpful? Give feedback.
-
Is this now available on Github enterprise? |
Beta Was this translation helpful? Give feedback.
-
@patrick-knight the org level rules are great 👍 Is there any plans to support org level default for that "Auto-delete head branches" to not have to toggle on the automatic deletion of merged branches for each new org repository separately? |
Beta Was this translation helpful? Give feedback.
-
Feature Request: In my team we'd love to be able to configure organization defaults (GitHub Enterprise) for the following, so we don't have to hand configure them for every new repo:
Branch protection rules
Webhooks
Merge button strategy
Auto-delete head branches
Thanks in advance!
Beta Was this translation helpful? Give feedback.
All reactions