-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.coderabbit.yaml
More file actions
42 lines (35 loc) · 1.27 KB
/
.coderabbit.yaml
File metadata and controls
42 lines (35 loc) · 1.27 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
# yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json
---
reviews:
tone_instructions: "Be direct and concise. Focus on correctness of async/await patterns, error handling, and GraphQL API usage."
path_instructions:
- path: src/api.js
instructions: |
GraphQL client singleton. Review for:
- Token validation before API calls
- Error handling patterns
- Singleton pattern correctness
- path: src/cli.js
instructions: |
CLI entrypoint. Review for:
- Argument parsing correctness
- Error messaging clarity
- User experience
- path: src/{contribs,repo,org}.js
instructions: |
Statistics collection modules. Review for:
- GraphQL query correctness
- Data transformation accuracy
- Error handling for API failures
- path: .github/workflows/*.yml
instructions: |
Review workflows for:
Security:
- Proper secret handling via ${{ secrets.* }}
- SSH signing configured correctly
Efficiency:
- Concurrency groups prevent duplicate runs
- Path filters for relevant changes
Correctness:
- Proper trigger conditions
- Fetch depth appropriate for git operations