MCPcopy Create free account
hub / github.com/github/gh-aw / hasGitHubLockdownExplicitlySet

Function hasGitHubLockdownExplicitlySet

pkg/workflow/mcp_github_config.go:187–190  ·  view source on GitHub ↗

hasGitHubLockdownExplicitlySet checks if lockdown field is explicitly set in GitHub tool config

(githubTool map[string]any)

Source from the content-addressed store, hash-verified

185
186// hasGitHubLockdownExplicitlySet checks if lockdown field is explicitly set in GitHub tool config
187func hasGitHubLockdownExplicitlySet(githubTool map[string]any) bool {
188 _, exists := githubTool["lockdown"]
189 return exists
190}
191
192// getGitHubToolsets extracts the toolsets configuration from GitHub tool
193// Expands "default" to individual toolsets for action-friendly compatibility

Callers 2

RenderGitHubMCPMethod · 0.85
generateCreateAwInfoMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected