mirror of
https://github.com/aljazceru/opencode.git
synced 2025-12-22 02:04:22 +01:00
ci: softer language
This commit is contained in:
4
.github/workflows/guidelines-check.yml
vendored
4
.github/workflows/guidelines-check.yml
vendored
@@ -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:
|
For each violation you find, create a file comment using the gh CLI. Use this exact format for each violation:
|
||||||
|
|
||||||
\`\`\`bash
|
\`\`\`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:
|
When possible, also submit code change suggestions using:
|
||||||
|
|
||||||
\`\`\`bash
|
\`\`\`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]
|
[corrected code here]
|
||||||
```'
|
```'
|
||||||
\`\`\`
|
\`\`\`
|
||||||
|
|||||||
Reference in New Issue
Block a user