Skip to content

Commit 6acc3e5

Browse files
committed
config: remote config option
1 parent 956d9b9 commit 6acc3e5

File tree

1 file changed

+18
-1
lines changed

1 file changed

+18
-1
lines changed

Diff for: docs/getting-started/configure-coderabbit.md

+18-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ of precedence:
2121
2. Configure using CodeRabbit UI for each repository
2222
3. Configure using CodeRabbit UI for the organization
2323

24-
In this guide, we will cover the configuration using a YAML file. For reference, you can find curated examples of YAML configurations in our [awesome-coderabbit](https://github.com/coderabbitai/awesome-coderabbit) repository.
24+
In this guide, we will cover the configuration using a YAML file. For reference, you can find curated examples of YAML configurations in our [`awesome-coderabbit`](https://github.com/coderabbitai/awesome-coderabbit) repository.
2525

2626
## Configure CodeRabbit using a YAML File
2727

@@ -63,3 +63,20 @@ Refer:
6363
Please note that code reviews commence with new pull requests or incremental
6464
commits to existing pull requests once the CodeRabbit app is installed. Should
6565
you have any questions or require assistance, our support team is here to help.
66+
67+
## Shared configuration
68+
69+
If you are self-hosting CodeRabbit in an air-gapped environment, you can use the
70+
shared configuration feature to share the configuration across multiple repositories.
71+
72+
To use shared configuration, you need to:
73+
74+
1. Create a `.coderabbit.yaml` file and host it in a location that is accessible
75+
to from the CodeRabbit instance.
76+
2. Create a `.coderabbit.yaml` file in the root of your repository with the
77+
following content:
78+
79+
```yaml
80+
remote_config:
81+
url: "https://your-config-location/.coderabbit.yaml"
82+
```

0 commit comments

Comments
 (0)