diff --git a/INSTALL.md b/INSTALL.md index 13b13b1f..4f39da89 100644 --- a/INSTALL.md +++ b/INSTALL.md @@ -24,9 +24,15 @@ To request a review for a PR, or ask a question about a PR, you can run directly 1. To request a review for a PR, run the following command: +For GitHub: ``` docker run --rm -it -e OPENAI.KEY= -e GITHUB.USER_TOKEN= codiumai/pr-agent --pr_url review ``` +For GitLab: +``` +docker run --rm -it -e OPENAI.KEY= -e CONFIG.GIT_PROVIDER=gitlab -e GITLAB.PERSONAL_ACCESS_TOKEN= codiumai/pr-agent --pr_url review +``` +For other git providers, update CONFIG.GIT_PROVIDER accordingly, and check the `pr_agent/settings/.secrets_template.toml` file for the environment variables expected names and values. 2. To ask a question about a PR, run the following command: