소스 검색

ci: adjust auto close issue script to use not planned instead of completed (#24253)

Aiden Cline 4 달 전
부모
커밋
f7d527cd28
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      script/github/close-issues.ts

+ 1 - 1
script/github/close-issues.ts

@@ -37,7 +37,7 @@ async function close(num: number) {
   const patch = await fetch(base, {
     method: "PATCH",
     headers,
-    body: JSON.stringify({ state: "closed", state_reason: "completed" }),
+    body: JSON.stringify({ state: "closed", state_reason: "not_planned" }),
   })
   if (!patch.ok) throw new Error(`Failed to close #${num}: ${patch.status} ${patch.statusText}`)