Skip to content

Commit 2ac579a

Browse files
authored
fix: Update CodeRabbit configuration instructions (#2611)
- Fix typo: 'generted' → 'generated' - Update outdated path: scripts/resource → class_generator - Improve instructions for clarity and actionability
1 parent 891dd05 commit 2ac579a

1 file changed

Lines changed: 12 additions & 1 deletion

File tree

.coderabbit.yaml

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,18 @@ reviews:
1616
changed_files_summary: true
1717
labeling_instructions: []
1818
path_filters: ["!class_generator/schema/**"]
19-
path_instructions: []
19+
path_instructions:
20+
- path: "**/ocp_resources/**"
21+
instructions: |
22+
SKIP reviewing any code between the markers:
23+
- Start: `# Generated using https://github.com/RedHatQE/openshift-python-wrapper/blob/main/class_generator/README.md`
24+
- End: `# End of generated code`
25+
26+
This is auto-generated code from the class-generator tool.
27+
Only review code OUTSIDE these markers.
28+
If someone modifies generated code directly, flag it as a violation -
29+
changes should be made to the class-generator instead.
30+
2031
abort_on_close: true
2132
auto_review:
2233
enabled: true

0 commit comments

Comments
 (0)