CopilotAuthCheck reports whether GITHUB_TOKEN is set.
| 253 | |
| 254 | // CopilotAuthCheck reports whether GITHUB_TOKEN is set. |
| 255 | type CopilotAuthCheck struct { |
| 256 | Env func(string) string |
| 257 | } |
| 258 | |
| 259 | func (c CopilotAuthCheck) Name() string { return "GitHub Copilot Authentication Check" } |
| 260 | func (c CopilotAuthCheck) Run(_ context.Context, r Reporter) Result { |
nothing calls this directly
no outgoing calls
no test coverage detected