diff --git a/.github/workflows/guidelines-check.yml b/.github/workflows/guidelines-check.yml index 4c554371..39929896 100644 --- a/.github/workflows/guidelines-check.yml +++ b/.github/workflows/guidelines-check.yml @@ -35,12 +35,12 @@ jobs: ${{ github.event.pull_request.body }} - 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. + 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. Make it clear the suggestions are merely suggestions and the human can decide what to do - For each violation you find, create a file comment using the gh CLI - make it clear these are merely suggestions and the human can make a call on what to do. + For each violation you find, create a file comment using the following command: ``` - gh api repos/${{ github.repository }}/pulls/${{ github.event.pull_request.number }}/comments -f body='[description of problem]' -f path='[path-to-file]' -F line=[line-number] -f side='RIGHT' + gh api repos/${{ github.repository }}/pulls/${{ github.event.pull_request.number }}/comments -f body='[description of problem]' -f path='[path-to-file]' -f line=[line-number] -f side='RIGHT' ``` If you have a suggestion for how to fix the problem the body can include a suggestion: