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

Function getGitHubReadOnly

pkg/workflow/mcp_github_config.go:171–173  ·  view source on GitHub ↗

getGitHubReadOnly returns true always, since the GitHub MCP server is always read-only. Setting read-only: false is not supported and will be flagged as a validation error.

()

Source from the content-addressed store, hash-verified

169// getGitHubReadOnly returns true always, since the GitHub MCP server is always read-only.
170// Setting read-only: false is not supported and will be flagged as a validation error.
171func getGitHubReadOnly() bool {
172 return true
173}
174
175// getGitHubLockdown checks if lockdown mode is enabled for GitHub tool
176// Defaults to constants.DefaultGitHubLockdown (false)

Callers 3

TestGetGitHubReadOnlyFunction · 0.85
RenderGitHubMCPMethod · 0.85
renderGitHubTOMLMethod · 0.85

Calls

no outgoing calls

Tested by 1

TestGetGitHubReadOnlyFunction · 0.68