Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 13 additions & 1 deletion .coderabbit.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,18 @@
language: 'ko-KR'
early_access: false
reviews:
profile: 'chill'
request_changes_workflow: false
high_level_summary: true
poem: true
review_status: true
collapse_walkthrough: false
auto_review:
enabled: false

drafts: false
base_branches:
- '/*'
Comment on lines +13 to +14
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🔴 Critical

🧩 Analysis chain

🌐 Web query:

CodeRabbit base_branches pattern regex glob configuration

💡 Result:

Short answer — what to put in .coderabbit.yaml:

  • Use the reviews.auto_review.base_branches field (array) in your .coderabbit.yaml or the web UI. This lists additional base branches CodeRabbit will automatically review (default is the repo default branch). [1]

  • Example (.coderabbit.yaml):
    reviews:
    auto_review:
    enabled: true
    base_branches: ["staging", "release/.*"]

  • Pattern support: CodeRabbit’s docs show base_branches as an array; community/config examples show using regex-style patterns (e.g., "release/.*") to match multiple branch names. If you rely on pattern matching, test it in your repo (or use the @coderabbitai configuration command) to confirm behavior. [1][2]

Sources:
[1] CodeRabbit configuration reference — reviews.auto_review.base_branches. [docs.coderabbit.ai/reference/configuration]
[2] Community/config examples showing regex-style branch patterns (example .coderabbit.yaml snippets).


🌐 Web query:

CodeRabbit .coderabbit.yml base_branches documentation

💡 Result:

Summary — .coderabbit.yaml setting for base branches

  • Field path: reviews.auto_review.base_branches. [1]
  • Type: array. Default: []. [1]
  • Meaning: list of branches (in addition to the repo default/main) that CodeRabbit will automatically run reviews against (e.g., "staging"). [1][2]
  • Where documented: Configuration reference (field entry) and the YAML configuration guide/template. [1][2]

If you want, I can show a short example snippet to add to your .coderabbit.yaml.


🏁 Script executed:

# Search for any CodeRabbit documentation or examples in the repository
fd -type f -name "*.md" -o -name "*.yml" -o -name "*.yaml" | head -20

Repository: WeGo-Together/WeGo_FrontEnd

Length of output: 241


🏁 Script executed:

# Search for any documentation or examples mentioning base_branches
rg "base_branches" -A 3 -B 3 --max-count 10

Repository: WeGo-Together/WeGo_FrontEnd

Length of output: 53


base_branches 패턴 수정 필요 — 정규식 형식 오류

base_branches는 정규식 패턴을 사용하며, 현재 설정의 '/*'는 유효한 정규식이 아닙니다. CodeRabbit 설정 문서에서 확인된 예제들(예: "release/.*")은 모두 정규식 문법을 사용하고 있습니다. 모든 브랜치에 자동 리뷰를 적용하려면 '/*''.*'로 변경하세요.

🤖 Prompt for AI Agents
In .coderabbit.yml around lines 13-14, the base_branches entry uses the invalid
regex pattern '/*'; replace it with a proper regex (e.g., '.*') to match all
branches, ensuring the pattern remains a quoted string in YAML so CodeRabbit
interprets it as a regular expression.

trigger:
enabled: true
chat:
auto_reply: true