Skip to content

Commit

Permalink
Add git user info to cherry-pick task (#56495)
Browse files Browse the repository at this point in the history
  • Loading branch information
jakebailey authored Nov 21, 2023
1 parent 5f5ed0f commit b9ae791
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/create-cherry-pick-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,8 @@ jobs:
const title = `🤖 Pick PR #${PR} (${pr.data.title.substring(0, 35)}${pr.data.title.length > 35 ? "..." : ""}) into ${TARGET_BRANCH}`;
await exec.exec("git", ["config", "user.email", "[email protected]"]);
await exec.exec("git", ["config", "user.name", "TypeScript Bot"]);
await exec.exec("git", ["switch", "--detach", `origin/${TARGET_BRANCH}`]);
await exec.exec("git", ["switch", "-c", pickBranch]);
await exec.exec("git", ["cherry-pick", pr.data.merge_commit_sha]);
Expand Down

0 comments on commit b9ae791

Please sign in to comment.