Skip to content

Commit cd8ab0a

Browse files
Copilotomgitsads
andcommitted
Register dependabot toolset in DefaultToolsetGroup
Co-authored-by: omgitsads <[email protected]>
1 parent 7988cb0 commit cd8ab0a

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

pkg/github/tools.go

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -249,11 +249,11 @@ func DefaultToolsetGroup(readOnly bool, getClient GetClientFn, getGQLClient GetG
249249
// toolsets.NewServerTool(GetSecretScanningAlert(getClient, t)),
250250
// toolsets.NewServerTool(ListSecretScanningAlerts(getClient, t)),
251251
// )
252-
// dependabot := toolsets.NewToolset(ToolsetMetadataDependabot.ID, ToolsetMetadataDependabot.Description).
253-
// AddReadTools(
254-
// toolsets.NewServerTool(GetDependabotAlert(getClient, t)),
255-
// toolsets.NewServerTool(ListDependabotAlerts(getClient, t)),
256-
// )
252+
dependabot := toolsets.NewToolset(ToolsetMetadataDependabot.ID, ToolsetMetadataDependabot.Description).
253+
AddReadTools(
254+
toolsets.NewServerTool(GetDependabotAlert(getClient, t)),
255+
toolsets.NewServerTool(ListDependabotAlerts(getClient, t)),
256+
)
257257

258258
// notifications := toolsets.NewToolset(ToolsetMetadataNotifications.ID, ToolsetMetadataNotifications.Description).
259259
// AddReadTools(
@@ -369,7 +369,7 @@ func DefaultToolsetGroup(readOnly bool, getClient GetClientFn, getGQLClient GetG
369369
// tsg.AddToolset(actions)
370370
// tsg.AddToolset(codeSecurity)
371371
// tsg.AddToolset(secretProtection)
372-
// tsg.AddToolset(dependabot)
372+
tsg.AddToolset(dependabot)
373373
// tsg.AddToolset(notifications)
374374
// tsg.AddToolset(experiments)
375375
// tsg.AddToolset(discussions)

0 commit comments

Comments
 (0)