Skip to content

Commit

Permalink
Merge pull request #279 from acsone/fix-main_branch_bot_all_repos
Browse files Browse the repository at this point in the history
Fix regression in main_branch_bot_all_repos
  • Loading branch information
sbidoul authored Jan 19, 2024
2 parents a364253 + 1a86a9e commit 01ce3b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/oca_github_bot/tasks/main_branch_bot.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 01ce3b5

Please sign in to comment.