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