From f62d826037990df7702dfe9ed4aed634bd393f40 Mon Sep 17 00:00:00 2001 From: Dax Raad Date: Tue, 12 Aug 2025 13:42:46 -0400 Subject: [PATCH] ci: sync --- .github/workflows/guidelines-check.yml | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/.github/workflows/guidelines-check.yml b/.github/workflows/guidelines-check.yml index cb3c9517..b5e0fa82 100644 --- a/.github/workflows/guidelines-check.yml +++ b/.github/workflows/guidelines-check.yml @@ -37,18 +37,14 @@ jobs: Please check all the code changes in this pull request against the guidelines in AGENTS.md file in this repository. Diffs are important but make sure you read the entire file to get proper context. - 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 with the suggested fix. \`\`\`bash - 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:' --file 'path/to/file.ts' --line [line_number] --body '```suggestion + gh pr review ${{ github.event.pull_request.number }} --comment-body '[description-of-problem]' --file 'path/to/file.ts' --line [line_number] --body '```suggestion [corrected code here] ```' \`\`\` + If you do not have a fix you can just lave a comment without the suggestion. + Only create comments for actual violations. If the code follows all guidelines, don't run any gh commands."