mirror of
https://github.com/qodo-ai/pr-agent.git
synced 2025-07-04 04:40:38 +08:00
feat: Enable PR description publishing as comment in bitbucket_app.py
This commit is contained in:
@ -154,6 +154,7 @@ async def handle_uninstalled_webhooks(request: Request, response: Response):
|
|||||||
def start():
|
def start():
|
||||||
get_settings().set("CONFIG.PUBLISH_OUTPUT_PROGRESS", False)
|
get_settings().set("CONFIG.PUBLISH_OUTPUT_PROGRESS", False)
|
||||||
get_settings().set("CONFIG.GIT_PROVIDER", "bitbucket")
|
get_settings().set("CONFIG.GIT_PROVIDER", "bitbucket")
|
||||||
|
get_settings().set("PR_DESCRIPTION.PUBLISH_DESCRIPTION_AS_COMMENT", True)
|
||||||
middleware = [Middleware(RawContextMiddleware)]
|
middleware = [Middleware(RawContextMiddleware)]
|
||||||
app = FastAPI(middleware=middleware)
|
app = FastAPI(middleware=middleware)
|
||||||
app.include_router(router)
|
app.include_router(router)
|
||||||
|
Reference in New Issue
Block a user