mirror of
https://github.com/qodo-ai/pr-agent.git
synced 2025-07-15 18:20:37 +08:00
final fixes
This commit is contained in:
5
Usage.md
5
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:
|
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]
|
||||||
|
Reference in New Issue
Block a user