diff --git a/src/oca_github_bot/tasks/main_branch_bot.py b/src/oca_github_bot/tasks/main_branch_bot.py index 966acb1d..6e053bb5 100644 --- a/src/oca_github_bot/tasks/main_branch_bot.py +++ b/src/oca_github_bot/tasks/main_branch_bot.py @@ -122,6 +122,8 @@ def main_branch_bot_all_repos(org, build_wheels, dry_run=False): with github.login() as gh: for repo in gh.repositories_by(org): for branch in repo.branches(): + if not is_main_branch_bot_branch(branch): + continue main_branch_bot.delay( org, repo.name, branch.name, build_wheels, dry_run )