feat: Enable PR description publishing as comment in bitbucket_app.py

This commit is contained in:
mrT23
2023-12-12 10:19:17 +02:00
parent 2f10b4f3c5
commit 512c92fe51

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)