MCPcopy Create free account
hub / github.com/anomalyco/opencode / shouldSkip

Function shouldSkip

script/github/close-issues.ts:37–40  ·  view source on GitHub ↗
(i: Issue)

Source from the content-addressed store, hash-verified

35}
36
37function shouldSkip(i: Issue) {
38 const login = i.user?.login.toLowerCase()
39 return login === agentLogin || (login ? teamMembers.has(login) : false) || teamAssociations.has(i.author_association)
40}
41
42async function close(num: number) {
43 const base = `https://api.github.com/repos/${repo}/issues/${num}`

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected