From 3a2ec6f7fc75a5362ebf736e3df91a54b9f2f94a Mon Sep 17 00:00:00 2001 From: GwWuYou <95328647+GeWuYou@users.noreply.github.com> Date: Fri, 2 Jan 2026 13:52:52 +0800 Subject: [PATCH] =?UTF-8?q?chore(workflow):=20=E7=A7=BB=E9=99=A4=E8=87=AA?= =?UTF-8?q?=E5=8A=A8=E6=A0=87=E7=AD=BE=E5=B7=A5=E4=BD=9C=E6=B5=81=E4=B8=AD?= =?UTF-8?q?=E7=9A=84=E8=B7=B3=E8=BF=87=E5=8F=91=E5=B8=83=E6=A3=80=E6=9F=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 从条件判断中移除了 [skip release] 关键词检查 - 保留了 [no tag] 和 [skip] 关键词的跳过逻辑 - 简化了提交信息的跳过条件判断流程 - [skip] --- .github/workflows/auto-tag.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/auto-tag.yml b/.github/workflows/auto-tag.yml index 6034edd..c4a1efa 100644 --- a/.github/workflows/auto-tag.yml +++ b/.github/workflows/auto-tag.yml @@ -37,7 +37,7 @@ jobs: run: | # 检查最近一次提交信息是否包含跳过关键词 LAST_COMMIT_MSG=$(git log -1 --pretty=format:"%B") - if [[ "$LAST_COMMIT_MSG" == *"[skip release]"* ]] || [[ "$LAST_COMMIT_MSG" == *"[no tag]"* ]] || [[ "$LAST_COMMIT_MSG" == *"[skip]"* ]]; then + if [[ "$LAST_COMMIT_MSG" == *"[no tag]"* ]] || [[ "$LAST_COMMIT_MSG" == *"[skip]"* ]]; then echo "skip_tag=true" >> $GITHUB_OUTPUT echo "Skipping tag creation due to skip keyword in commit message" else