You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add all commits from the head branch to the base branch with a merge commit. Optional
allowRebaseMerge?
boolean
Optional
allowSquashMerge?
boolean
Optional
archived?
boolean
Optional
autoInit?
boolean
Optional
defaultBranch?
string
Can only be set after initial repository creation, and only if the target branch exists. Optional
deleteBranchOnMerge?
boolean
Optional
description?
string
Optional
gitignoreTemplate?
string
Optional
hasDownloads?
boolean
Optional
hasIssues?
boolean
Optional
hasProjects?
boolean
Optional
hasWiki?
boolean
Optional
homepageUrl?
string
Optional
isTemplate?
boolean
Optional
licenseTemplate?
string
Optional
private?
boolean
Optional
topics?
Array
Optional
enum RepositoryPermissions
Name
Description
PULL
Recommended for non-code contributors who want to view or discuss your project.
TRIAGE
Recommended for contributors who need to proactively manage issues and pull requests without write access.
PUSH
Recommended for contributors who actively push to your project.
MAINTAIN
Recommended for project managers who need to manage the repository without access to sensitive or destructive actions.
ADMIN
Recommended for people who need full access to the project, including sensitive and destructive actions like managing security or deleting a repository.