Update removeSourceBranch option to cater for when not set
Signed-off-by: Aisha Saini <asaini1@jaguarlandrover.com> Signed-off-by: asaini1 <asaini1@jaguarlandrover.com>
This commit is contained in:
+3
-1
@@ -196,7 +196,9 @@ export const createPublishGitlabMergeRequestAction = (options: {
|
||||
ctx.input.title,
|
||||
{
|
||||
description: ctx.input.description,
|
||||
removeSourceBranch: ctx.input.removeSourceBranch,
|
||||
removeSourceBranch: ctx.input.removeSourceBranch
|
||||
? ctx.input.removeSourceBranch
|
||||
: false,
|
||||
},
|
||||
).then((mergeRequest: { web_url: string }) => {
|
||||
return mergeRequest.web_url;
|
||||
|
||||
Reference in New Issue
Block a user