From 629f747795bbdc856e6df582969e484342ac75c4 Mon Sep 17 00:00:00 2001 From: Jin Mao Date: Thu, 21 May 2026 08:54:51 +0800 Subject: [PATCH] =?UTF-8?q?feat(workflow):=20=E6=B7=BB=E5=8A=A0=E6=89=8B?= =?UTF-8?q?=E5=8A=A8=E8=A7=A6=E5=8F=91release=E6=A0=87=E7=AD=BE=E5=B7=A5?= =?UTF-8?q?=E4=BD=9C=E6=B5=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 添加 workflow_dispatch 触发器支持手动运行 - 新增 tag 输入参数用于指定创建的标签 - 设置默认标签值为 staging - 保留原有的 push tags 自动触发功能 --- .github/workflows/release-tag.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/release-tag.yml b/.github/workflows/release-tag.yml index 7258c11ff..3afed1f8f 100644 --- a/.github/workflows/release-tag.yml +++ b/.github/workflows/release-tag.yml @@ -4,6 +4,12 @@ on: push: tags: - 'v*.*.*' # Push events to matching v*, i.e. v1.0, v20.15.10 + workflow_dispatch: + inputs: + tag: + description: 'Tag to create' + required: true + default: 'staging' env: HUSKY: '0'