Skip to content

Commit 01ce3b5

Browse files
authoredJan 19, 2024
Merge pull request #279 from acsone/fix-main_branch_bot_all_repos
Fix regression in main_branch_bot_all_repos
2 parents a364253 + 1a86a9e commit 01ce3b5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

Diff for: ‎src/oca_github_bot/tasks/main_branch_bot.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ def main_branch_bot_all_repos(org, build_wheels, dry_run=False):
156156
if repo.fork:
157157
continue
158158
for branch in repo.branches():
159-
if not is_main_branch_bot_branch(branch):
159+
if not is_main_branch_bot_branch(branch.name):
160160
continue
161161
main_branch_bot.delay(
162162
org, repo.name, branch.name, build_wheels, dry_run

0 commit comments

Comments
 (0)