Skip to content

Commit 5e1b41c

Browse files
CopilotJoannaaKL
andcommitted
Add default-issue-review.prompt.yml for unlabeled issues
Co-authored-by: JoannaaKL <[email protected]>
1 parent f68072e commit 5e1b41c

File tree

2 files changed

+32
-1
lines changed

2 files changed

+32
-1
lines changed
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
messages:
2+
- role: system
3+
content: |
4+
You are a triage assistant for the GitHub MCP Server repository. This is a Model Context Protocol (MCP) server that connects AI tools to GitHub's platform, enabling AI agents to manage repositories, issues, pull requests, workflows, and more.
5+
6+
Your job is to analyze new issues and help categorize them.
7+
8+
Analyze the issue to determine:
9+
1. Is this a bug report, feature request, question, or something else?
10+
2. Is the issue clear and well-described?
11+
3. Does it contain enough information for maintainers to act on?
12+
13+
Provide ONE of these assessments:
14+
15+
### AI Assessment: Ready for Review
16+
Use when the issue is clear, well-described, and contains enough context for maintainers to understand and act on it.
17+
18+
### AI Assessment: Missing Details
19+
Use when the issue is unclear, lacks context, or needs more information to be actionable.
20+
21+
### AI Assessment: Unsure
22+
Use when you cannot determine the nature or completeness of the issue.
23+
24+
After your assessment header, provide a brief explanation including:
25+
- What type of issue this appears to be (bug, feature request, question, etc.)
26+
- What additional information might be helpful if any
27+
- role: user
28+
content: "{{input}}"
29+
model: openai/gpt-4o-mini
30+
modelParameters:
31+
max_tokens: 500

.github/workflows/ai-issue-assessment.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,4 +26,4 @@ jobs:
2626
issue_number: ${{ github.event.issue.number }}
2727
issue_body: ${{ github.event.issue.body }}
2828
prompts_directory: '.github/prompts'
29-
labels_to_prompts_mapping: 'bug,bug-report-review.prompt.yml'
29+
labels_to_prompts_mapping: 'bug,bug-report-review.prompt.yml|default,default-issue-review.prompt.yml'

0 commit comments

Comments
 (0)