From 6f9d34985d194c0d047e4cef0cbb1da71db7e62e Mon Sep 17 00:00:00 2001 From: Jake Bailey <5341706+jakebailey@users.noreply.github.com> Date: Wed, 22 Nov 2023 10:57:20 -0800 Subject: [PATCH] Fix typo in cherry-pick job (#56511) --- .github/workflows/create-cherry-pick-pr.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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({