MCPcopy Create free account
hub / github.com/Kilo-Org/cloud / isBotGithubUser

Function isBotGithubUser

apps/web/src/lib/github/open-pull-request-counts.ts:349–351  ·  view source on GitHub ↗
(user: GithubUserLite)

Source from the content-addressed store, hash-verified

347const teamCommentedCache = new Map<string, CacheEntry<PullRequestTeamInteraction>>();
348
349function isBotGithubUser(user: GithubUserLite): boolean {
350 return user.type === 'Bot';
351}
352
353function getGithubTokenOrThrow(): string {
354 if (!GITHUB_ADMIN_STATS_TOKEN) {

Calls

no outgoing calls

Tested by

no test coverage detected