mirror of
https://github.com/qodo-ai/pr-agent.git
synced 2025-07-04 21:00:40 +08:00
Merge pull request #1759 from qodo-ai/tr/feedback_on_draft_pr
docs: add information about feedback on draft PRs
This commit is contained in:
@ -111,6 +111,17 @@ pr_commands = [
|
|||||||
|
|
||||||
This means that when a new PR is opened/reopened or marked as ready for review, Qodo Merge will run the `describe`, `review` and `improve` tools.
|
This means that when a new PR is opened/reopened or marked as ready for review, Qodo Merge will run the `describe`, `review` and `improve` tools.
|
||||||
|
|
||||||
|
**Draft PRs:**
|
||||||
|
|
||||||
|
By default, draft PRs are not considered for automatic tools, but you can change this by setting the `feedback_on_draft_pr` parameter to `true` in the configuration file.
|
||||||
|
|
||||||
|
```toml
|
||||||
|
[github_app]
|
||||||
|
feedback_on_draft_pr = true
|
||||||
|
```
|
||||||
|
|
||||||
|
**Changing default tool parameters:**
|
||||||
|
|
||||||
You can override the default tool parameters by using one the three options for a [configuration file](https://qodo-merge-docs.qodo.ai/usage-guide/configuration_options/): **wiki**, **local**, or **global**.
|
You can override the default tool parameters by using one the three options for a [configuration file](https://qodo-merge-docs.qodo.ai/usage-guide/configuration_options/): **wiki**, **local**, or **global**.
|
||||||
For example, if your configuration file contains:
|
For example, if your configuration file contains:
|
||||||
|
|
||||||
@ -121,6 +132,9 @@ generate_ai_title = true
|
|||||||
|
|
||||||
Every time you run the `describe` tool (including automatic runs) the PR title will be generated by the AI.
|
Every time you run the `describe` tool (including automatic runs) the PR title will be generated by the AI.
|
||||||
|
|
||||||
|
|
||||||
|
**Parameters for automated runs:**
|
||||||
|
|
||||||
You can customize configurations specifically for automated runs by using the `--config_path=<value>` parameter.
|
You can customize configurations specifically for automated runs by using the `--config_path=<value>` parameter.
|
||||||
For instance, to modify the `review` tool settings only for newly opened PRs, use:
|
For instance, to modify the `review` tool settings only for newly opened PRs, use:
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user