From 1a86a9e54e5816005d9bfe6c24a006a8c544234b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Bidoul?= Date: Fri, 19 Jan 2024 15:26:22 +0100 Subject: [PATCH] Fix regression in main_branch_bot_all_repos --- src/oca_github_bot/tasks/main_branch_bot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/oca_github_bot/tasks/main_branch_bot.py b/src/oca_github_bot/tasks/main_branch_bot.py index 184eee4a..dc696505 100644 --- a/src/oca_github_bot/tasks/main_branch_bot.py +++ b/src/oca_github_bot/tasks/main_branch_bot.py @@ -156,7 +156,7 @@ def main_branch_bot_all_repos(org, build_wheels, dry_run=False): if repo.fork: continue for branch in repo.branches(): - if not is_main_branch_bot_branch(branch): + if not is_main_branch_bot_branch(branch.name): continue main_branch_bot.delay( org, repo.name, branch.name, build_wheels, dry_run