From 3e2e2d6c6e4512f307eb073284fec5b6fc84d60f Mon Sep 17 00:00:00 2001 From: sarbjitgrewal Date: Fri, 22 Sep 2023 12:23:41 +0530 Subject: [PATCH] update install.md --- INSTALL.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/INSTALL.md b/INSTALL.md index b3ecd177..78331ee4 100644 --- a/INSTALL.md +++ b/INSTALL.md @@ -379,6 +379,7 @@ You can use our pre-build Bitbucket-Pipeline docker image to run as Bitbucket-Pi 1. Add the following file in your repository bitbucket_pipelines.yml +```yaml pipelines: pull-requests: '**': @@ -394,6 +395,7 @@ You can use our pre-build Bitbucket-Pipeline docker image to run as Bitbucket-Pi - cd pr-agent - docker build -t bitbucket_runner:latest -f Dockerfile.bitbucket_pipeline . - docker run -e OPENAI_API_KEY=$OPENAI_API_KEY -e BITBUCKET_BEARER_TOKEN=$BITBUCKET_BEARER_TOKEN -e BITBUCKET_PR_ID=$BITBUCKET_PR_ID -e BITBUCKET_REPO_SLUG=$BITBUCKET_REPO_SLUG -e BITBUCKET_WORKSPACE=$BITBUCKET_WORKSPACE bitbucket_runner:latest +``` 2. Add the following secret to your repository under Repository settings > Pipelines > Repository variables. OPENAI_API_KEY: