Merge pull request #521 from Codium-ai/tr/bitbucket_app

feat: Enable PR description publishing as comment in bitbucket_app.py
This commit is contained in:
mrT23
2023-12-12 00:27:48 -08:00
committed by GitHub
2 changed files with 4 additions and 0 deletions

View File

@ -154,6 +154,7 @@ async def handle_uninstalled_webhooks(request: Request, response: Response):
def start():
get_settings().set("CONFIG.PUBLISH_OUTPUT_PROGRESS", False)
get_settings().set("CONFIG.GIT_PROVIDER", "bitbucket")
get_settings().set("PR_DESCRIPTION.PUBLISH_DESCRIPTION_AS_COMMENT", True)
middleware = [Middleware(RawContextMiddleware)]
app = FastAPI(middleware=middleware)
app.include_router(router)