@@ -239,11 +239,11 @@ func DefaultToolsetGroup(readOnly bool, getClient GetClientFn, getGQLClient GetG
239239 // toolsets.NewServerTool(PullRequestReviewWrite(getGQLClient, t)),
240240 // toolsets.NewServerTool(AddCommentToPendingReview(getGQLClient, t)),
241241 // )
242- // codeSecurity := toolsets.NewToolset(ToolsetMetadataCodeSecurity.ID, ToolsetMetadataCodeSecurity.Description).
243- // AddReadTools(
244- // toolsets.NewServerTool(GetCodeScanningAlert(getClient, t)),
245- // toolsets.NewServerTool(ListCodeScanningAlerts(getClient, t)),
246- // )
242+ codeSecurity := toolsets .NewToolset (ToolsetMetadataCodeSecurity .ID , ToolsetMetadataCodeSecurity .Description ).
243+ AddReadTools (
244+ toolsets .NewServerTool (GetCodeScanningAlert (getClient , t )),
245+ toolsets .NewServerTool (ListCodeScanningAlerts (getClient , t )),
246+ )
247247 // secretProtection := toolsets.NewToolset(ToolsetMetadataSecretProtection.ID, ToolsetMetadataSecretProtection.Description).
248248 // AddReadTools(
249249 // toolsets.NewServerTool(GetSecretScanningAlert(getClient, t)),
@@ -366,7 +366,7 @@ func DefaultToolsetGroup(readOnly bool, getClient GetClientFn, getGQLClient GetG
366366 // tsg.AddToolset(users)
367367 // tsg.AddToolset(pullRequests)
368368 // tsg.AddToolset(actions)
369- // tsg.AddToolset(codeSecurity)
369+ tsg .AddToolset (codeSecurity )
370370 // tsg.AddToolset(secretProtection)
371371 // tsg.AddToolset(dependabot)
372372 // tsg.AddToolset(notifications)
0 commit comments