Skip to content

Commit da6e0e6

Browse files
committed
ci: adjust review agent prompt to discourage bad diffs
1 parent d89b567 commit da6e0e6

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

.github/workflows/review.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,8 @@ jobs:
6767
When critiquing code style don't be a zealot, we don't like "let" statements but sometimes they are the simpliest option, if someone does a bunch of nesting with let, they should consider using iife (see packages/opencode/src/util.iife.ts)
6868
6969
Use the gh cli to create comments on the files for the violations. Try to leave the comment on the exact line number. If you have a suggested fix include it in a suggestion code block.
70+
If you are writing suggested fixes, BE SURE THAT the change you are recommending is actually valid typescript, often I have seen missing closing "}" or other syntax errors.
71+
Generally, write a comment instead of writing suggested change if you can help it.
7072
7173
Command MUST be like this.
7274
\`\`\`

0 commit comments

Comments
 (0)