Skip to content

Commit f22744a

Browse files
committed
fix(cli): checkout i18n branch from remote instead of HEAD
1 parent 48f8b3b commit f22744a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/cli/src/cli/cmd/ci/flows/pull-request.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ export class PullRequestFlow extends InBranchFlow {
9999

100100
private checkoutI18nBranch(i18nBranchName: string) {
101101
execSync(`git fetch origin ${i18nBranchName}`, { stdio: "inherit" });
102-
execSync(`git checkout -b ${i18nBranchName}`, {
102+
execSync(`git checkout -b ${i18nBranchName} origin/${i18nBranchName}`, {
103103
stdio: "inherit",
104104
});
105105
}

0 commit comments

Comments
 (0)