Skip to content

Commit d33fb87

Browse files
committed
Include input PR title in bot PR title
1 parent 188c3b7 commit d33fb87

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: scripts/open-cherry-pick-pr.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ ${logText.trim()}`;
8585
owner: "Microsoft",
8686
repo: "TypeScript",
8787
maintainer_can_modify: true,
88-
title: `🤖 Cherry-pick PR #${process.env.SOURCE_ISSUE} into ${process.env.TARGET_BRANCH}`,
88+
title: `🤖 Pick PR #${process.env.SOURCE_ISSUE} (${inputPR.title.substring(0, 35)}${inputPR.title.length > 35 ? "..." : ""}) into ${process.env.TARGET_BRANCH}`,
8989
head: `${userName}:${branchName}`,
9090
base: process.env.TARGET_BRANCH,
9191
body:

0 commit comments

Comments
 (0)