workflow: When updating the issueXX branch, use force push
Otherwise if you try to update the branch with a new /cherry-pick from the same issue you will run into problems similar as to the one shown in this workflow: https://github.com/llvm/llvm-project/runs/5864672298?check_suite_focus=true Reviewed By: tstellar Differential Revision: https://reviews.llvm.org/D123365
This commit is contained in:
parent
e758b77161
commit
1889170aeb
|
@ -185,7 +185,7 @@ class ReleaseWorkflow:
|
|||
|
||||
push_url = self.push_url
|
||||
print('Pushing to {} {}'.format(push_url, branch_name))
|
||||
local_repo.git.push(push_url, 'HEAD:{}'.format(branch_name))
|
||||
local_repo.git.push(push_url, 'HEAD:{}'.format(branch_name), force=True)
|
||||
|
||||
self.issue_notify_branch()
|
||||
self.issue_remove_cherry_pick_failed_label()
|
||||
|
|
Loading…
Reference in a new issue