mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-03-16 14:40:50 -05:00
Fix typo in cherry-pick job (#56511)
This commit is contained in:
2
.github/workflows/create-cherry-pick-pr.yml
vendored
2
.github/workflows/create-cherry-pick-pr.yml
vendored
@@ -66,7 +66,7 @@ jobs:
|
||||
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", "-m", "-1", pr.data.merge_commit_sha]);
|
||||
await exec.exec("git", ["cherry-pick", "-m", "1", pr.data.merge_commit_sha]);
|
||||
await exec.exec("git", ["push", "--force", "--set-upstream", "origin", pickBranch]);
|
||||
|
||||
const existingPulls = await github.rest.pulls.list({
|
||||
|
||||
Reference in New Issue
Block a user