final fixes

This commit is contained in:
mrT23
2023-10-29 13:05:15 +02:00
parent 055b5ea700
commit 72d5e4748e

View File

@ -163,8 +163,8 @@ You can configure settings in GitHub action by adding environment variables unde
Specifically, should set the following environment variables: Specifically, should set the following environment variables:
```yaml ```yaml
env: env:
OPENAI_KEY: ${{ secrets.OPENAI_KEY }} # or give directly your key OPENAI_KEY: ${{ secrets.OPENAI_KEY }} # Make sure to add your OpenAI key to your repo secrets
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # or give directly your token 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_review: "true" # Enable auto review
github_action.auto_describe: "true" # Enable auto describe github_action.auto_describe: "true" # Enable auto describe
github_action.auto_improve: "false" # Disable auto improve 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. 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. 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: 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] [pr_description]