diff options
author | Jimmy Praet <jimmy.praet@telenet.be> | 2022-03-04 09:30:49 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-04 03:30:49 -0500 |
commit | 5184c83f6b702aeec3ea85263e16ccf5ebe89836 (patch) | |
tree | d5a5f04630815a7342c6e26409faeac75620573b /templates/swagger/v1_json.tmpl | |
parent | 3c7201682cde10ed551476e13e9e1bfdd971e0c0 (diff) | |
download | gitea-5184c83f6b702aeec3ea85263e16ccf5ebe89836.tar.gz gitea-5184c83f6b702aeec3ea85263e16ccf5ebe89836.zip |
Add config option to disable "Update branch by rebase" (#18745)
Diffstat (limited to 'templates/swagger/v1_json.tmpl')
-rw-r--r-- | templates/swagger/v1_json.tmpl | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/templates/swagger/v1_json.tmpl b/templates/swagger/v1_json.tmpl index 69abe24020..3bc6158183 100644 --- a/templates/swagger/v1_json.tmpl +++ b/templates/swagger/v1_json.tmpl @@ -14809,6 +14809,11 @@ "type": "boolean", "x-go-name": "AllowRebaseMerge" }, + "allow_rebase_update": { + "description": "either `true` to allow updating pull request branch by rebase, or `false` to prevent it. `has_pull_requests` must be `true`.", + "type": "boolean", + "x-go-name": "AllowRebaseUpdate" + }, "allow_squash_merge": { "description": "either `true` to allow squash-merging pull requests, or `false` to prevent squash-merging. `has_pull_requests` must be `true`.", "type": "boolean", |