Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitc141bf4

Browse files
authored
fix: move defaulted 'state' param after non-default params in list_code_scanning_alerts (#488)
1 parentc17ebfe commitc141bf4

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

‎pkg/github/code_scanning.go‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -90,14 +90,14 @@ func ListCodeScanningAlerts(getClient GetClientFn, t translations.TranslationHel
9090
mcp.Required(),
9191
mcp.Description("The name of the repository."),
9292
),
93-
mcp.WithString("ref",
94-
mcp.Description("The Git reference for the results you want to list."),
95-
),
9693
mcp.WithString("state",
9794
mcp.Description("Filter code scanning alerts by state. Defaults to open"),
9895
mcp.DefaultString("open"),
9996
mcp.Enum("open","closed","dismissed","fixed"),
10097
),
98+
mcp.WithString("ref",
99+
mcp.Description("The Git reference for the results you want to list."),
100+
),
101101
mcp.WithString("severity",
102102
mcp.Description("Filter code scanning alerts by severity"),
103103
mcp.Enum("critical","high","medium","low","warning","note","error"),

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp