[PATCH] D123365: workflow: When updating the issueXX branch, use force push
Tobias Hieta via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Apr 11 23:04:06 PDT 2022
This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rG1889170aeb61: workflow: When updating the issueXX branch, use force push (authored by thieta).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D123365/new/
https://reviews.llvm.org/D123365
Files:
llvm/utils/git/github-automation.py
Index: llvm/utils/git/github-automation.py
===================================================================
--- llvm/utils/git/github-automation.py
+++ llvm/utils/git/github-automation.py
@@ -185,7 +185,7 @@
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()
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D123365.422129.patch
Type: text/x-patch
Size: 556 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220412/f92035e8/attachment.bin>
More information about the llvm-commits
mailing list