[SW-52] chore: CodeRabbit 자동 리뷰 대상 브랜치 설정 추가#28
Conversation
📝 WalkthroughWalkthroughA new configuration file Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~5 minutes Poem
🚥 Pre-merge checks | ✅ 3✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
@coderabbitai review |
✅ Actions performedReview triggered.
|
1 similar comment
✅ Actions performedReview triggered.
|
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Fix all issues with AI agents
In @.coderabbit.yml:
- Around line 4-6: Replace the invalid `branches` property under the auto_review
config with the schema-correct `base_branches` property; update the key name
from "branches" to "base_branches" and only list non-default base branches
(e.g., keep "develop" and remove "main" unless your repo's default branch is not
main and you explicitly need to include it). Ensure the auto_review object
contains `base_branches: - develop` (or include main only if it's not the
default) so it complies with the schema that disallows additionalProperties.
| branches: | ||
| - main | ||
| - develop No newline at end of file |
There was a problem hiding this comment.
Invalid property name: branches should be base_branches.
According to the CodeRabbit configuration schema, the auto_review object does not have a branches property. The correct property name is base_branches. Since the schema specifies additionalProperties: false, this configuration will not work as intended.
Additionally, per the schema description, base_branches is for "Base branches (other than the default branch) to review." If main is your repository's default branch, it is already included automatically—only develop needs to be listed.
🐛 Proposed fix
reviews:
auto_review:
enabled: true
- branches:
- - main
+ base_branches:
- developIf you do need to explicitly include main (e.g., it's not the default branch):
reviews:
auto_review:
enabled: true
- branches:
+ base_branches:
- main
- develop📝 Committable suggestion
‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.
| branches: | |
| - main | |
| - develop | |
| reviews: | |
| auto_review: | |
| enabled: true | |
| base_branches: | |
| - develop |
🤖 Prompt for AI Agents
In @.coderabbit.yml around lines 4 - 6, Replace the invalid `branches` property
under the auto_review config with the schema-correct `base_branches` property;
update the key name from "branches" to "base_branches" and only list non-default
base branches (e.g., keep "develop" and remove "main" unless your repo's default
branch is not main and you explicitly need to include it). Ensure the
auto_review object contains `base_branches: - develop` (or include main only if
it's not the default) so it complies with the schema that disallows
additionalProperties.
PR 제목
SW-52 chore: CodeRabbit 자동 리뷰 대상 브랜치 설정 추가
작업 유형
작업 내용
체크리스트
참고 사항 (선택)
Summary by CodeRabbit
✏️ Tip: You can customize this high-level summary in your review settings.