Skip to content

Commit 0ae1e75

Browse files
martinsifraclaude
andcommitted
feat: Create merge request with reviewers
- DMD-1263 - Mirrors reviewer assignment from PUT /merge-request/{id} to the create endpoint. createMergeRequest() and setReviewers() are wrapped in a transaction so invalid reviewers roll back the MR insert atomically. Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
1 parent 47d7b97 commit 0ae1e75

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/Keboola/StorageApi/Client.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -985,7 +985,8 @@ public function pullTableToBranch(string $tableId): string
985985
* description?: ?string,
986986
* externalId?: ?string,
987987
* autoMergeStrategy?: ?string,
988-
* autoMergeAt?: ?string
988+
* autoMergeAt?: ?string,
989+
* reviewers?: list<int>
989990
* } $data
990991
* @return int - created MR id
991992
*/

0 commit comments

Comments
 (0)