Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface EditRepoOption

EditRepoOption options when editing a repository's properties

export
interface

EditRepoOption

Hierarchy

  • EditRepoOption

Index

Properties

allow_manual_merge?: boolean

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

memberof

EditRepoOption

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. has_pull_requests must be true.

memberof

EditRepoOption

allow_rebase?: boolean

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

memberof

EditRepoOption

allow_rebase_explicit?: boolean

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

memberof

EditRepoOption

allow_rebase_update?: boolean

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

memberof

EditRepoOption

allow_squash_merge?: boolean

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

memberof

EditRepoOption

archived?: boolean

set to true to archive this repository.

memberof

EditRepoOption

autodetect_manual_merge?: boolean

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

memberof

EditRepoOption

default_branch?: string

sets the default branch for this repository.

memberof

EditRepoOption

default_delete_branch_after_merge?: boolean

set to true to delete pr branch after merge by default

memberof

EditRepoOption

default_merge_style?: string

set to a merge style to be used by this repository: "merge", "rebase", "rebase-merge", or "squash". has_pull_requests must be true.

memberof

EditRepoOption

description?: string

a short description of the repository.

memberof

EditRepoOption

enable_prune?: boolean

enable prune - remove obsolete remote-tracking references

memberof

EditRepoOption

external_tracker?: ExternalTracker
memberof

EditRepoOption

external_wiki?: ExternalWiki
memberof

EditRepoOption

has_issues?: boolean

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

memberof

EditRepoOption

has_projects?: boolean

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

memberof

EditRepoOption

has_pull_requests?: boolean

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

memberof

EditRepoOption

has_wiki?: boolean

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

memberof

EditRepoOption

ignore_whitespace_conflicts?: boolean

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

memberof

EditRepoOption

internal_tracker?: InternalTracker
memberof

EditRepoOption

mirror_interval?: string

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

memberof

EditRepoOption

name?: string

name of the repository

memberof

EditRepoOption

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.

memberof

EditRepoOption

template?: boolean

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

memberof

EditRepoOption

website?: string

a URL with more information about the repository.

memberof

EditRepoOption

Generated using TypeDoc