فهرست منبع

ci: improve guideline check (#1867)

Dax 7 ماه پیش
والد
کامیت
6f584ec641
1فایلهای تغییر یافته به همراه7 افزوده شده و 2 حذف شده
  1. 7 2
      .github/workflows/guidelines-check.yml

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

@@ -27,10 +27,15 @@ jobs:
         run: |
           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 }}
+          </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: