Skip to content

Commit c0f99d1

Browse files
committed
refactor: update tool description and comment formatting in actions.go
1 parent a7a9c3d commit c0f99d1

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

pkg/github/actions.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,6 @@ func actionFromString(s string) actionsActionType {
7676

7777
func ActionsList(getClient GetClientFn, t translations.TranslationHelperFunc) (tool mcp.Tool, handler server.ToolHandlerFunc) {
7878
return mcp.NewTool("actions_list",
79-
mcp.WithDescription(t("TOOL_ACTIONS_LIST_DESCRIPTION", "List GitHub Actions workflows in a repository.")),
8079
mcp.WithDescription(t("TOOL_ACTIONS_LIST_DESCRIPTION", `Tools for listing GitHub Actions resources.
8180
Use this tool to list workflows in a repository, or list workflow runs, jobs, and artifacts for a specific workflow or workflow run.
8281
`)),
@@ -609,7 +608,7 @@ func listWorkflowArtifacts(ctx context.Context, client *github.Client, _ mcp.Cal
609608
return mcp.NewToolResultText(string(r)), nil
610609
}
611610

612-
// ListWorkflows creates a tool to list workflows in a repository
611+
// listWorkflows lists workflows in a repository.
613612
func listWorkflows(ctx context.Context, client *github.Client, _ mcp.CallToolRequest, owner, repo string, pagination PaginationParams) (*mcp.CallToolResult, error) {
614613
// Set up list options
615614
opts := &github.ListOptions{

0 commit comments

Comments
 (0)