diff --git a/.github/workflows/create-cherry-pick-pr.yml b/.github/workflows/create-cherry-pick-pr.yml index 56a286e260f00..cde1bce78ca85 100644 --- a/.github/workflows/create-cherry-pick-pr.yml +++ b/.github/workflows/create-cherry-pick-pr.yml @@ -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({