Parcourir la source

ci: improve guideline check (#1867)

Dax il y a 8 mois
Parent
commit
6f584ec641
1 fichiers modifiés avec 7 ajouts et 2 suppressions
  1. 7 2
      .github/workflows/guidelines-check.yml

+ 7 - 2
.github/workflows/guidelines-check.yml

@@ -27,10 +27,15 @@ jobs:
         run: |
         run: |
           opencode run -m anthropic/claude-sonnet-4-20250514 "A new pull request has been created: '${{ github.event.pull_request.title }}'
           opencode run -m anthropic/claude-sonnet-4-20250514 "A new pull request has been created: '${{ github.event.pull_request.title }}'
 
 
-          PR description:
+          <pr-number>
+          ${{ github.event.pull_request.number }}
+          </pr-number>
+
+          <pr-description>
           ${{ github.event.pull_request.body }}
           ${{ github.event.pull_request.body }}
+          </pr-description>
 
 
-          Please check all the code changes in this pull request against the guidelines in AGENTS.md file in this repository.
+          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. Use this exact format for each violation: