Skip to content

Commit 5183930

Browse files
author
test_admin
committed
FEAT: target project on create MR
issue: #172
1 parent e5248b3 commit 5183930

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1357,6 +1357,7 @@ async function createMergeRequest(
13571357
description: options.description,
13581358
source_branch: options.source_branch,
13591359
target_branch: options.target_branch,
1360+
target_project_id: options.target_project_id,
13601361
assignee_ids: options.assignee_ids,
13611362
reviewer_ids: options.reviewer_ids,
13621363
labels: options.labels?.join(","),

schemas.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -833,6 +833,7 @@ const MergeRequestOptionsSchema = {
833833
description: z.string().optional().describe("Merge request description"),
834834
source_branch: z.string().describe("Branch containing changes"),
835835
target_branch: z.string().describe("Branch to merge into"),
836+
target_project_id: z.coerce.string().optional().describe("Numeric ID of the target project."),
836837
assignee_ids: z
837838
.array(z.number())
838839
.optional()

0 commit comments

Comments
 (0)