We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b8bfb01 commit 5f5ed0fCopy full SHA for 5f5ed0f
.github/workflows/create-cherry-pick-pr.yml
@@ -62,7 +62,7 @@ jobs:
62
63
const title = `🤖 Pick PR #${PR} (${pr.data.title.substring(0, 35)}${pr.data.title.length > 35 ? "..." : ""}) into ${TARGET_BRANCH}`;
64
65
- await exec.exec("git", ["switch", "--detach", TARGET_BRANCH]);
+ await exec.exec("git", ["switch", "--detach", `origin/${TARGET_BRANCH}`]);
66
await exec.exec("git", ["switch", "-c", pickBranch]);
67
await exec.exec("git", ["cherry-pick", pr.data.merge_commit_sha]);
68
await exec.exec("git", ["push", "--force", "--set-upstream", "origin", pickBranch]);
0 commit comments