Explorar o código

fix: duplicates bot prompt (#1901)

Aiden Cline hai 6 meses
pai
achega
e132f6183d
Modificáronse 1 ficheiros con 4 adicións e 1 borrados
  1. 4 1
      .github/workflows/duplicate-issues.yml

+ 4 - 1
.github/workflows/duplicate-issues.yml

@@ -27,10 +27,13 @@ jobs:
         run: |
           opencode run -m anthropic/claude-sonnet-4-20250514 "A new issue has been created: '${{ github.event.issue.title }}'
 
+          Issue number:
+          ${{ github.event.issue.number }}
           Issue body:
           ${{ github.event.issue.body }}
 
-          Please search through existing issues in this repository to find any potential duplicates of this new issue. Consider:
+          Please search through existing issues (excluding #${{ github.event.issue.number }}) in this repository to find any potential duplicates of this new issue.
+          Consider:
           1. Similar titles or descriptions
           2. Same error messages or symptoms
           3. Related functionality or components