diff --git a/lib/platform/azure/index.ts b/lib/platform/azure/index.ts index f2bab9aefabf0c72f29598ae28a78a7aec71b6ef..51040110fb889bd4b9fd2a78f21c6bdc50a1e296 100644 --- a/lib/platform/azure/index.ts +++ b/lib/platform/azure/index.ts @@ -340,6 +340,7 @@ export async function createPr({ prTitle: title, prBody: body, labels, + draftPR = false, platformOptions = {}, }: CreatePRConfig): Promise<Pr> { const sourceRefName = azureHelper.getNewBranchName(branchName); @@ -358,6 +359,7 @@ export async function createPr({ title, description, workItemRefs, + isDraft: draftPR, }, config.repoId );