chore: update repository context in similar_issues prompt to use dynamic variable

This commit is contained in:
DIYgod
2025-08-31 21:15:27 +08:00
parent 5582962674
commit 1a76ea0744
2 changed files with 2 additions and 1 deletions
+1 -1
View File
@@ -9,7 +9,7 @@ messages:
the current issue. Return up to 3 of the most similar past issues. If none are
reasonably similar, return an empty list. Output must follow the response schema
exactly and include only data you actually retrieved from GitHub tools.
The current GitHub repository context is: owner "RSSNext", repo "Folo".
The current GitHub repository is: "{{repository}}".
- role: user
content: |-
Find similar issues for this new issue:
+1
View File
@@ -37,6 +37,7 @@ jobs:
input: |
issue_title: ${{ steps.prepare_input.outputs.issue_title_json }}
issue_body: ${{ steps.prepare_input.outputs.issue_body_indented_json }}
repository: ${{ github.repository }}
enable-github-mcp: true
# Inference token can use GITHUB_TOKEN. MCP specifically requires a PAT.
token: ${{ secrets.GITHUB_TOKEN }}