You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
64
64
Parameters from a local `.pr_agent.toml` file, in a specific repo, will override the global configuration parameters.
@@ -69,17 +69,20 @@ For example, in the GitHub organization `Codium-ai`:
69
69
70
70
- 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`.
`Platforms supported: GitLab, Bitbucket Data Center`
75
75
76
-
In Bitbucket Data Center, there are two levels where you can define a global configuration file:
76
+
Create a repository named `pr-agent-settings` within a specific project (Bitbucket) or a group/subgroup (Gitlab).
77
+
The configuration file in this repository will apply to all repositories directly under the same project/group/subgroup.
77
78
78
-
- Project-level global configuration:
79
+
!!! note "Note"
80
+
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.
79
81
80
-
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.
81
82
82
-
- Organization-level global configuration:
83
+
## Organization level configuration file 💎
84
+
85
+
`Relevant platforms: Bitbucket Data Center`
83
86
84
87
Create a dedicated project to hold a global configuration file that affects all repositories across all projects in your organization.
0 commit comments