MCPcopy Index your code
hub / github.com/Linen-dev/linen.dev / isFromOurBot

Function isFromOurBot

packages/integration-github/src/inbound.ts:69–73  ·  view source on GitHub ↗
(sender: GitHubTypes.User)

Source from the content-addressed store, hash-verified

67});
68
69function isFromOurBot(sender: GitHubTypes.User) {
70 return (
71 sender.id === env.BOT_SENDER_ID || sender.login === env.BOT_SENDER_LOGIN
72 );
73}
74
75// reusable between webhooks issue related
76async function handleIssue(

Callers 1

handleCommonFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected