Skip to content

Commit

Permalink
feat: visibility is required field on repository
Browse files Browse the repository at this point in the history
  • Loading branch information
wolfy1339 committed Nov 22, 2021
1 parent 4cdacc6 commit f03e1ba
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion payload-schemas/api.github.com/common/repository.schema.json
Expand Up @@ -77,7 +77,8 @@
"watchers",
"default_branch",
"is_template",
"topics"
"topics",
"visibility"
],
"properties": {
"id": {
Expand Down
2 changes: 1 addition & 1 deletion payload-types/schema.d.ts
Expand Up @@ -554,7 +554,7 @@ export interface Repository {
allow_forking?: boolean;
is_template: boolean;
topics: string[];
visibility?: "public" | "private" | "internal";
visibility: "public" | "private" | "internal";
/**
* Whether to delete head branches when pull requests are merged
*/
Expand Down

0 comments on commit f03e1ba

Please sign in to comment.