2.9 KiB
2.9 KiB
EditRepoOption
Properties
Name | Type | Description | Notes |
---|---|---|---|
allow_merge_commits | bool | 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`. | [optional] |
allow_rebase | bool | either `true` to allow rebase-merging pull requests, or `false` to prevent rebase-merging. `has_pull_requests` must be `true`. | [optional] |
allow_rebase_explicit | bool | 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`. | [optional] |
allow_squash_merge | bool | either `true` to allow squash-merging pull requests, or `false` to prevent squash-merging. `has_pull_requests` must be `true`. | [optional] |
archived | bool | set to `true` to archive this repository. | [optional] |
default_branch | str | sets the default branch for this repository. | [optional] |
description | str | a short description of the repository. | [optional] |
external_tracker | ExternalTracker | [optional] | |
external_wiki | ExternalWiki | [optional] | |
has_issues | bool | either `true` to enable issues for this repository or `false` to disable them. | [optional] |
has_pull_requests | bool | either `true` to allow pull requests, or `false` to prevent pull request. | [optional] |
has_wiki | bool | either `true` to enable the wiki for this repository or `false` to disable it. | [optional] |
ignore_whitespace_conflicts | bool | either `true` to ignore whitespace for conflicts, or `false` to not ignore whitespace. `has_pull_requests` must be `true`. | [optional] |
internal_tracker | InternalTracker | [optional] | |
name | str | name of the repository | [optional] |
private | bool | 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. | [optional] |
template | bool | either `true` to make this repository a template or `false` to make it a normal repository | [optional] |
website | str | a URL with more information about the repository. | [optional] |