Update cherrypick_pr to get mergeable state

This commit is contained in:
Mikhail f. Shiryaev 2023-02-02 16:13:50 +01:00
parent 3e79b69cba
commit 46ff77654c
No known key found for this signature in database
GPG Key ID: 4B02ED204C7D93F4

View File

@ -208,6 +208,8 @@ Merge it only if you intend to backport changes to the target branch, otherwise
self.cherrypick_pr.add_to_labels(Labels.CHERRYPICK) self.cherrypick_pr.add_to_labels(Labels.CHERRYPICK)
self.cherrypick_pr.add_to_labels(Labels.DO_NOT_TEST) self.cherrypick_pr.add_to_labels(Labels.DO_NOT_TEST)
self._assign_new_pr(self.cherrypick_pr) self._assign_new_pr(self.cherrypick_pr)
# update cherrypick PR to get the state for PR.mergable
self.cherrypick_pr.update()
def create_backport(self): def create_backport(self):
assert self.cherrypick_pr is not None assert self.cherrypick_pr is not None