Skip to content

Commit b9ae791

Browse files
authored
Add git user info to cherry-pick task (#56495)
1 parent 5f5ed0f commit b9ae791

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/create-cherry-pick-pr.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,8 @@ jobs:
6262
6363
const title = `🤖 Pick PR #${PR} (${pr.data.title.substring(0, 35)}${pr.data.title.length > 35 ? "..." : ""}) into ${TARGET_BRANCH}`;
6464
65+
await exec.exec("git", ["config", "user.email", "[email protected]"]);
66+
await exec.exec("git", ["config", "user.name", "TypeScript Bot"]);
6567
await exec.exec("git", ["switch", "--detach", `origin/${TARGET_BRANCH}`]);
6668
await exec.exec("git", ["switch", "-c", pickBranch]);
6769
await exec.exec("git", ["cherry-pick", pr.data.merge_commit_sha]);

0 commit comments

Comments
 (0)