MCPcopy Index your code
hub / github.com/anomalyco/opencode / hasPriorCleanup

Function hasPriorCleanup

script/github/close-prs.ts:334–336  ·  view source on GitHub ↗
(pr: PullRequest)

Source from the content-addressed store, hash-verified

332}
333
334function hasPriorCleanup(pr: PullRequest) {
335 return pr.labels.nodes.some((label) => label.name === cleanupLabel)
336}
337
338function requireRepo(value: string | undefined) {
339 if (!value) throw new Error("repo is required")

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected