Skip to content

Commit

Permalink
ci: add CodeRabbit configuration file (#501)
Browse files Browse the repository at this point in the history
* ci: add CodeRabbit configuration file

- Create .coderabbit.yaml file with specified settings
- Configure language, early access, and review preferences
- Enable auto-review for the 'main' branch
- Set up chat auto-reply

* fix

* fx

* debug
  • Loading branch information
zds-s authored Dec 17, 2024
1 parent bda1653 commit be870d0
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .coderabbit.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
language: "zh-CN"
early_access: false
tone_instructions: "You must speak like a professional programmer, with precise and practical logic in every sentence. If possible, it would be best to include 'Why?', 'How?' and 'What effect?'."
reviews:
profile: "chill"
request_changes_workflow: true
high_level_summary: true
auto_title_placeholder: "PR title"
commit_status: true
poem: true
review_status: true
collapse_walkthrough: true
auto_review:
enabled: true
drafts: false
base_branches: ["master"]
tools:
phpstan:
enabled: true
level: 5
paths: [ "tests" ]

chat:
auto_reply: true

0 comments on commit be870d0

Please sign in to comment.