mirror of
https://github.com/qodo-ai/pr-agent.git
synced 2025-07-14 01:30:37 +08:00
Update pr_agent/servers/bitbucket_server_webhook.py
Co-authored-by: qodo-merge-for-open-source[bot] <189517486+qodo-merge-for-open-source[bot]@users.noreply.github.com>
This commit is contained in:
@ -119,13 +119,9 @@ def should_process_pr_logic(data) -> bool:
|
||||
if all_files_outside:
|
||||
get_logger().info(f"Ignoring PR because all files {changed_files} are outside allowed folders {allowed_folders}")
|
||||
return False
|
||||
except Exception as e:
|
||||
get_logger().error(f"Failed allow_only_specific_folders logic: {e}")
|
||||
# Continue processing PR when folder check fails
|
||||
pass
|
||||
except Exception as e:
|
||||
get_logger().error(f"Failed 'should_process_pr_logic': {e}")
|
||||
return False
|
||||
return True
|
||||
return True
|
||||
|
||||
@router.post("/")
|
||||
|
Reference in New Issue
Block a user