From be870d057bf04eddd04cd31a817d80f46ea9174b Mon Sep 17 00:00:00 2001 From: lyan <49744633+zds-s@users.noreply.github.com> Date: Tue, 17 Dec 2024 22:37:36 +0800 Subject: [PATCH] ci: add CodeRabbit configuration file (#501) * 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 --- .coderabbit.yaml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .coderabbit.yaml diff --git a/.coderabbit.yaml b/.coderabbit.yaml new file mode 100644 index 00000000..7dbcac4e --- /dev/null +++ b/.coderabbit.yaml @@ -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 \ No newline at end of file