Include input PR title in bot PR title

This commit is contained in:
Wesley Wigham 2020-02-27 11:07:32 -08:00
parent 188c3b7046
commit d33fb87da8
No known key found for this signature in database
GPG Key ID: D59F87F60C5400C9

View File

@ -85,7 +85,7 @@ ${logText.trim()}`;
owner: "Microsoft",
repo: "TypeScript",
maintainer_can_modify: true,
title: `🤖 Cherry-pick PR #${process.env.SOURCE_ISSUE} into ${process.env.TARGET_BRANCH}`,
title: `🤖 Pick PR #${process.env.SOURCE_ISSUE} (${inputPR.title.substring(0, 35)}${inputPR.title.length > 35 ? "..." : ""}) into ${process.env.TARGET_BRANCH}`,
head: `${userName}:${branchName}`,
base: process.env.TARGET_BRANCH,
body: