Skip to content

Commit f8dffa9

Browse files
committed
[ci] BP workflow: Set correctly the upstream branch
1 parent 7e22681 commit f8dffa9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/utilities/backport_pr.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ def principal():
171171
execCommand(f'git checkout -b {bpBranchName}')
172172
execCommand(f'git apply --check {patchName}')
173173
execCommand(f'git am --keep-cr --signoff < {patchName}')
174-
execCommand(f'git push --set-upstream {bpBranchName}')
174+
execCommand(f'git push --set-upstream origin {bpBranchName}')
175175
authenticate(pr_token)
176176
prUrl = execCommand('gh pr create --repo root-project/root ' \
177177
f'--base {realTargetBranch} '\

0 commit comments

Comments
 (0)