|
|
@@ -40,13 +40,13 @@ jobs:
|
|
|
For each violation you find, create a file comment using the gh CLI. Use this exact format for each violation:
|
|
|
|
|
|
\`\`\`bash
|
|
|
- gh pr review ${{ github.event.pull_request.number }} --comment-body 'This violates the AGENTS.md guideline: [specific rule]. Consider: [suggestion]' --file 'path/to/file.ts' --line [line_number]
|
|
|
+ gh pr review ${{ github.event.pull_request.number }} --comment-body 'This may be a conflict with AGENTS.md guidelines: [specific rule]. Consider: [suggestion]' --file 'path/to/file.ts' --line [line_number]
|
|
|
\`\`\`
|
|
|
|
|
|
When possible, also submit code change suggestions using:
|
|
|
|
|
|
\`\`\`bash
|
|
|
- gh pr review ${{ github.event.pull_request.number }} --comment-body 'Suggested fix for AGENTS.md guideline violation:' --file 'path/to/file.ts' --line [line_number] --body '```suggestion
|
|
|
+ gh pr review ${{ github.event.pull_request.number }} --comment-body 'Suggested fix for AGENTS.md guideline:' --file 'path/to/file.ts' --line [line_number] --body '```suggestion
|
|
|
[corrected code here]
|
|
|
```'
|
|
|
\`\`\`
|