The open source coding agent.
TypeScript
Change issue close reason from not_planned to completed
Dax Raad4f9667c4bb2f
diff --git a/script/github/close-issues.ts b/script/github/close-issues.tsindex f5470e25241..7b38bf67582 100755--- a/script/github/close-issues.ts+++ b/script/github/close-issues.ts@@ -38,7 +38,7 @@ async function close(num: number) {const patch = await fetch(base, {method: "PATCH",headers,- body: JSON.stringify({ state: "closed", state_reason: "not_planned" }),+ body: JSON.stringify({ state: "closed", state_reason: "completed" }),})if (!patch.ok) throw new Error(`Failed to close #${num}: ${patch.status} ${patch.statusText}`)