CI: Fix not-merged cherry-picks for backports

This commit is contained in:
Max Kainov 2024-06-12 14:29:52 +00:00
parent af6afd9043
commit 49977e89e0

View File

@ -532,9 +532,9 @@ class Backport:
for br in branches: for br in branches:
br.process(self.dry_run) br.process(self.dry_run)
for br in branches: if all(br.backported for br in branches):
if br.backported: # And check it after the running
self.mark_pr_backported(pr) self.mark_pr_backported(pr)
def mark_pr_backported(self, pr: PullRequest) -> None: def mark_pr_backported(self, pr: PullRequest) -> None:
if self.dry_run: if self.dry_run: