Skip to content

fix: use 'internal' visibility for ghe.com - #182

Open
dnwe wants to merge 1 commit into
actions:mainfrom
dnwe:ghe.com
Open

fix: use 'internal' visibility for ghe.com#182
dnwe wants to merge 1 commit into
actions:mainfrom
dnwe:ghe.com

Conversation

@dnwe

@dnwe dnwe commented Aug 6, 2026

Copy link
Copy Markdown

Public repositories are not supported in GitHub Enterprise Cloud with data residency and must be mirrored as 'internal' at most: https://docs.github.com/en/enterprise-cloud@latest/admin/data-residency/about-github-enterprise-cloud-with-data-residency#repository-visibility

Without this actions-sync errors with:
422 Public repositories are not permitted for Enterprise Managed Organizations. []

The code already existed in actions-sync to handle this, but was still tied to the old "Aegis" codename. GitHub AE (GHAE) no longer exists as an active standalone product having been deprecated in July 2022, and the final 2-year transition window for legacy customer agreements concluded in July 2024, so it should be fine to repurpose this for detecting foo.ghe.com instances which are the replacement and have the same characteristics.

Public repositories are not supported in GitHub Enterprise Cloud with
data residency and must be mirrored as 'internal' at most:
https://docs.github.com/en/enterprise-cloud@latest/admin/data-residency/about-github-enterprise-cloud-with-data-residency#repository-visibility

Without this actions-sync errors with:
422 Public repositories are not permitted for Enterprise Managed Organizations. []

The code already existed in actions-sync to handle this, but was still
tied to the old "Aegis" codename. GitHub AE (GHAE) no longer exists as
an active standalone product having been deprecated in July 2022, and
the final 2-year transition window for legacy customer agreements
concluded in July 2024, so it should be fine to repurpose this for
detecting foo.ghe.com instances which are the replacement and have the
same characteristics.

Signed-off-by: Dominic Evans <dominic.evans@uk.ibm.com>
@dnwe
dnwe requested review from a team as code owners August 6, 2026 13:59
@dnwe

dnwe commented Aug 6, 2026

Copy link
Copy Markdown
Author

@philip-gai FYI

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant