Skip to content

Commit be401fa

Browse files
committed
Add issues type filter
1 parent 2a2df24 commit be401fa

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

pkg/github/issues.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -192,6 +192,9 @@ func SearchIssues(getClient GetClientFn, t translations.TranslationHelperFunc) (
192192
if err != nil {
193193
return mcp.NewToolResultError(err.Error()), nil
194194
}
195+
if !strings.Contains(query, "is:issue") {
196+
query = query + " is:issue"
197+
}
195198
sort, err := OptionalParam[string](request, "sort")
196199
if err != nil {
197200
return mcp.NewToolResultError(err.Error()), nil

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy