Spaces:
Build error
Build error
stop them
Browse files
app.py
CHANGED
@@ -116,6 +116,7 @@ async def post_webhook(
|
|
116 |
for discussion in get_repo_discussions(
|
117 |
repo_id=space_id, repo_type="space", token=HF_TOKEN
|
118 |
):
|
|
|
119 |
if discussion.is_pull_request and discussion.status == "open":
|
120 |
if not is_pr_synced(space_id=space_id, pr_num=discussion.num):
|
121 |
task_queue.add_task(
|
|
|
116 |
for discussion in get_repo_discussions(
|
117 |
repo_id=space_id, repo_type="space", token=HF_TOKEN
|
118 |
):
|
119 |
+
break
|
120 |
if discussion.is_pull_request and discussion.status == "open":
|
121 |
if not is_pr_synced(space_id=space_id, pr_num=discussion.num):
|
122 |
task_queue.add_task(
|