Skip to content

Commit 0b1b738

Browse files
authored
Don't allow @githubpr to use issues label (#7344)
Fixes #7328
1 parent 8b192b8 commit 0b1b738

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lm/tools/searchTools.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ You are an expert on choosing search keywords based on a natural language search
124124
- Only choose labels that you're sure are relevant. Having no labels is preferable than lables that aren't relevant.
125125
- Don't choose labels that the user has explicitly excluded.
126126
- Respond with label names chosen from this JSON array of options:
127-
${JSON.stringify(labels.filter(label => !label.name.includes('required') && !label.name.includes('search') && !label.name.includes('question') && !label.name.includes('find')).map(label => ({ name: label.name, description: label.description })))}
127+
${JSON.stringify(labels.filter(label => !label.name.includes('required') && !label.name.includes('search') && !label.name.includes('question') && !label.name.includes('find') && !label.name.includes('issue')).map(label => ({ name: label.name, description: label.description })))}
128128
`;
129129
}
130130

0 commit comments

Comments
 (0)