From 6e0ea816636e84ef0ec42fe3eefca1fb5194046d Mon Sep 17 00:00:00 2001 From: unsc9 <438590997@qq.com> Date: Fri, 6 Nov 2026 12:38:22 +0800 Subject: [PATCH] =?UTF-8?q?ci(release):=20workflow=5Fdispatch=20=E9=BB=98?= =?UTF-8?q?=E8=AE=A4=20dry-run=EF=BC=8C=E7=9C=9F=E5=AE=9E=E5=8F=91?= =?UTF-8?q?=E5=B8=83=E9=9C=80=E6=98=BE=E5=BC=8F=E5=8F=96=E6=B6=88=E5=8B=BE?= =?UTF-8?q?=E9=80=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/release.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index be1389ca..d78b4d8d 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -25,12 +25,15 @@ name: Release on: release: types: [published] + # Manual runs default to dry-run: a real publish from workflow_dispatch must + # be an explicit opt-in, because the tag/version guard below only runs for + # `release` events. workflow_dispatch: inputs: dry_run: - description: Pack and verify everything, but do not publish + description: Pack and verify everything, but do not publish (default) type: boolean - default: false + default: true permissions: contents: read