Skip to content

Commit

Permalink
Fix regression in main_branch_bot_all_repos
Browse files Browse the repository at this point in the history
  • Loading branch information
sbidoul committed Jan 19, 2024
1 parent a364253 commit 1a86a9e
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 1a86a9e

Please sign in to comment.