mirror of
https://github.com/qodo-ai/pr-agent.git
synced 2025-12-12 19:05:18 +00:00
Compare commits
1 commit
8e88bf065f
...
5d378385a6
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
5d378385a6 |
1 changed files with 10 additions and 13 deletions
|
|
@ -58,7 +58,7 @@ Then you can give a list of extra instructions to the `review` tool.
|
||||||
|
|
||||||
## Global configuration file 💎
|
## Global configuration file 💎
|
||||||
|
|
||||||
`Platforms supported: GitHub, GitLab (cloud), Bitbucket (cloud)`
|
`Platforms supported: GitHub, GitLab, Bitbucket`
|
||||||
|
|
||||||
If you create a repo called `pr-agent-settings` in your **organization**, its configuration file `.pr_agent.toml` will be used as a global configuration file for any other repo that belongs to the same organization.
|
If you create a repo called `pr-agent-settings` in your **organization**, its configuration file `.pr_agent.toml` will be used as a global configuration file for any other repo that belongs to the same organization.
|
||||||
Parameters from a local `.pr_agent.toml` file, in a specific repo, will override the global configuration parameters.
|
Parameters from a local `.pr_agent.toml` file, in a specific repo, will override the global configuration parameters.
|
||||||
|
|
@ -69,21 +69,18 @@ For example, in the GitHub organization `Codium-ai`:
|
||||||
|
|
||||||
- The repo [`https://github.com/Codium-ai/pr-agent`](https://github.com/Codium-ai/pr-agent/blob/main/.pr_agent.toml) inherits the global configuration file from `pr-agent-settings`.
|
- The repo [`https://github.com/Codium-ai/pr-agent`](https://github.com/Codium-ai/pr-agent/blob/main/.pr_agent.toml) inherits the global configuration file from `pr-agent-settings`.
|
||||||
|
|
||||||
## Project/Group level configuration file 💎
|
### Bitbucket Organization level configuration file 💎
|
||||||
|
|
||||||
`Platforms supported: GitLab, Bitbucket Data Center`
|
|
||||||
|
|
||||||
Create a repository named `pr-agent-settings` within a specific project (Bitbucket) or a group/subgroup (Gitlab).
|
|
||||||
The configuration file in this repository will apply to all repositories directly under the same project/group/subgroup.
|
|
||||||
|
|
||||||
!!! note "Note"
|
|
||||||
For Gitlab, in case of a repository nested in several sub groups, the lookup for a pr-agent-settings repo will be only on one level above such repository.
|
|
||||||
|
|
||||||
|
|
||||||
## Organization level configuration file 💎
|
|
||||||
|
|
||||||
`Relevant platforms: Bitbucket Data Center`
|
`Relevant platforms: Bitbucket Data Center`
|
||||||
|
|
||||||
|
In Bitbucket Data Center, there are two levels where you can define a global configuration file:
|
||||||
|
|
||||||
|
- Project-level global configuration:
|
||||||
|
|
||||||
|
Create a repository named `pr-agent-settings` within a specific project. The configuration file in this repository will apply to all repositories under the same project.
|
||||||
|
|
||||||
|
- Organization-level global configuration:
|
||||||
|
|
||||||
Create a dedicated project to hold a global configuration file that affects all repositories across all projects in your organization.
|
Create a dedicated project to hold a global configuration file that affects all repositories across all projects in your organization.
|
||||||
|
|
||||||
**Setting up organization-level global configuration:**
|
**Setting up organization-level global configuration:**
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue