You can prevent members from changing the visibility of organization-owned repositories on your GitHub Enterprise appliance.

When you prevent members from changing repository visibility, only site administrators have the ability to make public repositories private or make private repositories public.

  1. Rocketship icon for accessing site admin settings
    In the upper-right corner of any page, click .

  2. Admin Center tab
    In the left sidebar, click Admin center.

  3. Drop-down menu with the option to allow or deny all users the ability to change repository visibility
    Under Users can change repository visibility, select the drop-down menu, then click Disabled.