Merge pull request #65181 from ClickHouse/ci_fix_not_merged_cherry_picks_for_backports

CI: Fix not-merged cherry-picks for backports
This commit is contained in:
Max K 2024-06-12 14:56:06 +00:00 committed by GitHub
commit 9d26f8bbd1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

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