From 72d5e4748e8b0c41807125c662cc16bb70b2cb87 Mon Sep 17 00:00:00 2001 From: mrT23 Date: Sun, 29 Oct 2023 13:05:15 +0200 Subject: [PATCH] final fixes --- Usage.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Usage.md b/Usage.md index 6963fe36..8187718d 100644 --- a/Usage.md +++ b/Usage.md @@ -163,8 +163,8 @@ You can configure settings in GitHub action by adding environment variables unde Specifically, should set the following environment variables: ```yaml env: - OPENAI_KEY: ${{ secrets.OPENAI_KEY }} # or give directly your key - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # or give directly your token + OPENAI_KEY: ${{ secrets.OPENAI_KEY }} # Make sure to add your OpenAI key to your repo secrets + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Make sure to add your GitHub token to your repo secrets github_action.auto_review: "true" # Enable auto review github_action.auto_describe: "true" # Enable auto describe github_action.auto_improve: "false" # Disable auto improve @@ -173,6 +173,7 @@ Specifically, should set the following environment variables: If not set, the default option is that only the `review` tool will run automatically when a new PR is opened. Note that you can give additional config parameters by adding environment variables to `.github/workflows/pr_agent.yml`, or by using a `.pr_agent.toml` file in the root of your repo, similar to the GitHub App usage. + For example, you can set an environment variable: `pr_description.add_original_user_description=false`, or add a `.pr_agent.toml` file with the following content: ``` [pr_description]