From 237fc177f222ad87b9640d904746e9415bf843e6 Mon Sep 17 00:00:00 2001 From: fenley <49503866+godfengliang@users.noreply.github.com> Date: Wed, 3 Jun 2026 13:11:36 +0800 Subject: [PATCH] fix: respect input_draft when updating existing release --- src/github.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/github.ts b/src/github.ts index df52433d2..c395d0472 100644 --- a/src/github.ts +++ b/src/github.ts @@ -579,7 +579,7 @@ export const release = async ( target_commitish, name, body, - draft: existingRelease.draft, + draft: config.input_draft !== undefined ? config.input_draft : existingRelease.draft, prerelease, discussion_category_name, generate_release_notes,