mirror of
https://github.com/anomalyco/opencode.git
synced 2026-04-28 04:29:42 +00:00
ci: adjust auto close issue script to use not planned instead of completed (#24253)
This commit is contained in:
parent
e29058c346
commit
f7d527cd28
1 changed files with 1 additions and 1 deletions
|
|
@ -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}`)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue