diff --git a/payload-schemas/api.github.com/common/repository.schema.json b/payload-schemas/api.github.com/common/repository.schema.json index e4050eaba..365dc86d3 100644 --- a/payload-schemas/api.github.com/common/repository.schema.json +++ b/payload-schemas/api.github.com/common/repository.schema.json @@ -225,7 +225,7 @@ }, "is_template": { "type": "boolean" }, "topics": { "type": "array", "items": { "type": "string" } }, - "visibility": { "type": "string", "enum": ["public", "private"] }, + "visibility": { "type": "string", "enum": ["public", "private", "internal"] }, "delete_branch_on_merge": { "type": "boolean", "description": "Whether to delete head branches when pull requests are merged", diff --git a/payload-types/schema.d.ts b/payload-types/schema.d.ts index 56d8efd85..8c16560e2 100644 --- a/payload-types/schema.d.ts +++ b/payload-types/schema.d.ts @@ -554,7 +554,7 @@ export interface Repository { allow_forking?: boolean; is_template: boolean; topics: string[]; - visibility?: "public" | "private"; + visibility?: "public" | "private" | "internal"; /** * Whether to delete head branches when pull requests are merged */