2.6 KiB
2.6 KiB
EditRepoOption
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| allowMergeCommits | 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`. | [optional] |
| allowRebase | Boolean | either `true` to allow rebase-merging pull requests, or `false` to prevent rebase-merging. `has_pull_requests` must be `true`. | [optional] |
| allowRebaseExplicit | 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`. | [optional] |
| allowSquashMerge | Boolean | either `true` to allow squash-merging pull requests, or `false` to prevent squash-merging. `has_pull_requests` must be `true`. | [optional] |
| archived | Boolean | set to `true` to archive this repository. | [optional] |
| defaultBranch | String | sets the default branch for this repository. | [optional] |
| description | String | a short description of the repository. | [optional] |
| externalTracker | ExternalTracker | [optional] | |
| externalWiki | ExternalWiki | [optional] | |
| hasIssues | Boolean | either `true` to enable issues for this repository or `false` to disable them. | [optional] |
| hasPullRequests | Boolean | either `true` to allow pull requests, or `false` to prevent pull request. | [optional] |
| hasWiki | Boolean | either `true` to enable the wiki for this repository or `false` to disable it. | [optional] |
| ignoreWhitespaceConflicts | Boolean | either `true` to ignore whitespace for conflicts, or `false` to not ignore whitespace. `has_pull_requests` must be `true`. | [optional] |
| internalTracker | InternalTracker | [optional] | |
| name | String | name of the repository | [optional] |
| _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. | [optional] |
| website | String | a URL with more information about the repository. | [optional] |