mirror of
https://github.com/Sea-Haven-Industries/open-swe.git
synced 2026-09-30 09:13:14 +00:00
fix: suppress blocked GitHub webhook warnings (#1411)
Demote expected GitHub allowlist rejections to debug so external app installations do not flood warning logs.
This commit is contained in:
parent
58e0f84470
commit
58f7b716da
1 changed files with 1 additions and 1 deletions
|
|
@ -2963,7 +2963,7 @@ async def github_webhook(request: Request, background_tasks: BackgroundTasks) ->
|
|||
return {"status": "accepted", "message": "Processing GitHub push for reviewer watch"}
|
||||
|
||||
if not _is_repo_allowed(webhook_repo_config):
|
||||
logger.warning(
|
||||
logger.debug(
|
||||
"Rejecting GitHub webhook: repo '%s/%s' not in allowlist",
|
||||
webhook_repo_config.get("owner"),
|
||||
webhook_repo_config.get("name"),
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue