Optional
allow_either true
to allow fast-forward-only merging pull requests, or false
to prevent fast-forward-only merging.
Optional
allow_either true
to allow mark pr as merged manually, or false
to prevent it.
Optional
allow_either true
to allow merging pull requests with a merge commit, or false
to prevent merging pull requests with merge commits.
Optional
allow_either true
to allow rebase-merging pull requests, or false
to prevent rebase-merging.
Optional
allow_either true
to allow rebase with explicit merge commits (--no-ff), or false
to prevent rebase with explicit merge commits.
Optional
allow_either true
to allow updating pull request branch by rebase, or false
to prevent it.
Optional
allow_either true
to allow squash-merging pull requests, or false
to prevent squash-merging.
Optional
archivedset to true
to archive this repository.
Optional
autodetect_either true
to enable AutodetectManualMerge, or false
to prevent it. Note: In some special cases, misjudgments can occur.
Optional
default_set to true
to allow edits from maintainers by default
Optional
default_sets the default branch for this repository.
Optional
default_set to true
to delete pr branch after merge by default
Optional
default_set to a merge style to be used by this repository: "merge", "rebase", "rebase-merge", "squash", or "fast-forward-only".
Optional
descriptiona short description of the repository.
Optional
enable_enable prune - remove obsolete remote-tracking references when mirroring
Optional
external_ExternalTracker represents settings for external tracker
Optional
external_ExternalWiki represents setting for external wiki
Optional
has_either true
to enable actions unit, or false
to disable them.
Optional
has_either true
to enable issues for this repository or false
to disable them.
Optional
has_either true
to enable packages unit, or false
to disable them.
Optional
has_either true
to enable project unit, or false
to disable them.
Optional
has_either true
to allow pull requests, or false
to prevent pull request.
Optional
has_either true
to enable releases unit, or false
to disable them.
Optional
has_either true
to enable the wiki for this repository or false
to disable it.
Optional
ignore_either true
to ignore whitespace for conflicts, or false
to not ignore whitespace.
Optional
internal_InternalTracker represents settings for internal tracker
Optional
mirror_set to a string like 8h30m0s
to set the mirror interval time
Optional
namename of the repository
true
Optional
privateeither true
to make the repository private or false
to make it public.
Note: you will get a 422 error if the organization restricts changing repository visibility to organization
owners and a non-owner tries to change the value of private.
Optional
projects_repo
to only allow repo-level projects, owner
to only allow owner projects, all
to allow both.
Optional
templateeither true
to make this repository a template or false
to make it a normal repository
Optional
websitea URL with more information about the repository.
Generated using TypeDoc
EditRepoOption options when editing a repository's properties