Explorar o código

Change issue close reason from not_planned to completed

Dax Raad hai 5 meses
pai
achega
4f9667c4bb
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      script/github/close-issues.ts

+ 1 - 1
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}`)