Interface EditRepoOption

EditRepoOption options when editing a repository's properties

Hierarchy

  • EditRepoOption

Properties

allow_fast_forward_only_merge?: boolean

either true to allow fast-forward-only merging pull requests, or false to prevent fast-forward-only merging.

allow_manual_merge?: boolean

either true to allow mark pr as merged manually, or false to prevent it.

allow_merge_commits?: boolean

either true to allow merging pull requests with a merge commit, or false to prevent merging pull requests with merge commits.

allow_rebase?: boolean

either true to allow rebase-merging pull requests, or false to prevent rebase-merging.

allow_rebase_explicit?: boolean

either true to allow rebase with explicit merge commits (--no-ff), or false to prevent rebase with explicit merge commits.

allow_rebase_update?: boolean

either true to allow updating pull request branch by rebase, or false to prevent it.

allow_squash_merge?: boolean

either true to allow squash-merging pull requests, or false to prevent squash-merging.

archived?: boolean

set to true to archive this repository.

autodetect_manual_merge?: boolean

either true to enable AutodetectManualMerge, or false to prevent it. Note: In some special cases, misjudgments can occur.

default_allow_maintainer_edit?: boolean

set to true to allow edits from maintainers by default

default_branch?: string

sets the default branch for this repository.

default_delete_branch_after_merge?: boolean

set to true to delete pr branch after merge by default

default_merge_style?: string

set to a merge style to be used by this repository: "merge", "rebase", "rebase-merge", "squash", or "fast-forward-only".

description?: string

a short description of the repository.

enable_prune?: boolean

enable prune - remove obsolete remote-tracking references when mirroring

external_tracker?: ExternalTracker

ExternalTracker represents settings for external tracker

external_wiki?: ExternalWiki

ExternalWiki represents setting for external wiki

has_actions?: boolean

either true to enable actions unit, or false to disable them.

has_issues?: boolean

either true to enable issues for this repository or false to disable them.

has_packages?: boolean

either true to enable packages unit, or false to disable them.

has_projects?: boolean

either true to enable project unit, or false to disable them.

has_pull_requests?: boolean

either true to allow pull requests, or false to prevent pull request.

has_releases?: boolean

either true to enable releases unit, or false to disable them.

has_wiki?: boolean

either true to enable the wiki for this repository or false to disable it.

ignore_whitespace_conflicts?: boolean

either true to ignore whitespace for conflicts, or false to not ignore whitespace.

internal_tracker?: InternalTracker

InternalTracker represents settings for internal tracker

mirror_interval?: string

set to a string like 8h30m0s to set the mirror interval time

name?: string

name of the repository

Unique Items

true

private?: boolean

either 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.

projects_mode?: string

repo to only allow repo-level projects, owner to only allow owner projects, all to allow both.

template?: boolean

either true to make this repository a template or false to make it a normal repository

website?: string

a URL with more information about the repository.

Generated using TypeDoc