mirror of
https://github.com/qodo-ai/pr-agent.git
synced 2025-12-11 18:35:18 +00:00
fix: review standardize regex checking
This commit is contained in:
parent
adce35765b
commit
2f7f60a469
1 changed files with 1 additions and 1 deletions
|
|
@ -163,7 +163,7 @@ async def gitlab_webhook(background_tasks: BackgroundTasks, request: Request):
|
|||
return JSONResponse(status_code=status.HTTP_200_OK, content=jsonable_encoder({"message": "success"}))
|
||||
|
||||
if ignore_mr_title:
|
||||
if any([re.search(regex, title) for regex in ignore_mr_title]):
|
||||
if any(re.search(regex, title) for regex in ignore_mr_title):
|
||||
get_logger().info(f"Ignoring MR with title '{title}' due to gitlab.ignore_mr_title settings")
|
||||
return JSONResponse(status_code=status.HTTP_200_OK, content=jsonable_encoder({"message": "success"}))
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue