Skip to content

Commit b141589

Browse files
Update pkg/github/actions.go
Co-authored-by: Copilot <[email protected]>
1 parent c3283c9 commit b141589

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/github/actions.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -763,7 +763,7 @@ func runWorkflow(ctx context.Context, client *github.Client, _ mcp.CallToolReque
763763
return mcp.NewToolResultText(string(r)), nil
764764
}
765765

766-
// GetWorkflowRunLogs creates a tool to download logs for a specific workflow run
766+
// getWorkflowRunLogs is a helper function that retrieves the download URL for logs of a specific workflow run.
767767
func getWorkflowRunLogs(ctx context.Context, client *github.Client, _ mcp.CallToolRequest, owner, repo string, runID int64) (*mcp.CallToolResult, error) {
768768
// Get the download URL for the logs
769769
url, resp, err := client.Actions.GetWorkflowRunLogs(ctx, owner, repo, runID, 1)

0 commit comments

Comments
 (0)