Wauplin HF staff commited on
Commit
37c261d
·
1 Parent(s): 243864a
Files changed (1) hide show
  1. app.py +1 -0
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(