Skip to content
This repository was archived by the owner on Aug 25, 2024. It is now read-only.

Commit af48fd1

Browse files
author
john-s-andersen
committed
alice: please: contribute: util: gh: Fix missing break if more than one search result on upsert issue
Signed-off-by: john-s-andersen <[email protected]>
1 parent ae319ed commit af48fd1

File tree

1 file changed

+1
-0
lines changed
  • entities/alice/alice/please/contribute/util

1 file changed

+1
-0
lines changed

entities/alice/alice/please/contribute/util/gh.py

+1
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,7 @@ async def gh_issue_create_or_update_by_title(
102102
# TODO Data model from data model generation from schema
103103
if issue["title"] == title and issue["state"] == "OPEN":
104104
found_issue_to_update = issue
105+
break
105106
# If we don't find it, create it
106107
if not found_issue_to_update:
107108
return await gh_issue_create(

0 commit comments

Comments
 (0)