ci(release): workflow_dispatch 默认 dry-run,真实发布需显式取消勾选

This commit is contained in:
unsc9 committed 2026-11-06 12:38:22 +08:00
1 parent c2f5ba5cc7
commit 6e0ea81663
1 file changed
+5 -2
+5 -2
View File
@@ -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