mirror of
https://github.com/sst/opencode.git
synced 2025-12-23 10:11:41 +00:00
sync
This commit is contained in:
parent
2dfdf80438
commit
4d4b3c478a
1 changed files with 8 additions and 0 deletions
8
.github/workflows/guidelines-check.yml
vendored
8
.github/workflows/guidelines-check.yml
vendored
|
|
@ -38,4 +38,12 @@ jobs:
|
|||
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]
|
||||
\`\`\`
|
||||
|
||||
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
|
||||
[corrected code here]
|
||||
```'
|
||||
\`\`\`
|
||||
|
||||
Only create comments for actual violations. If the code follows all guidelines, don't run any gh commands."
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue