Skip to content

🀯 LobeHub - Super-Agents on Your Team. Add super-agents to the chats your team already uses.They take on work by themselves and get better every week.

πŸ‘· build: add build prefix to auto-tag release trigger (#12406)

Arvin Xu4260474f4e34
diff --git a/.github/workflows/auto-tag-release.yml b/.github/workflows/auto-tag-release.yml
index bdd68d5b27e..913b1c2ee7d 100644
--- a/.github/workflows/auto-tag-release.yml
+++ b/.github/workflows/auto-tag-release.yml
@@ -58,12 +58,12 @@ jobs:
fi
# Priority 2: fallback to PR title prefix gate (legacy behavior).
- if echo "$PR_TITLE" | grep -qiE '^(πŸ’„[[:space:]]*)?style(\(.+\))?:|^(✨[[:space:]]*)?feat(\(.+\))?:|^(πŸ›[[:space:]]*)?fix(\(.+\))?:|^(♻️[[:space:]]*)?refactor(\(.+\))?:|^((πŸ›|🩹)[[:space:]]*)?hotfix(\(.+\))?:'; then
+ if echo "$PR_TITLE" | grep -qiE '^(πŸ’„[[:space:]]*)?style(\(.+\))?:|^(✨[[:space:]]*)?feat(\(.+\))?:|^(πŸ›[[:space:]]*)?fix(\(.+\))?:|^(♻️[[:space:]]*)?refactor(\(.+\))?:|^((πŸ›|🩹)[[:space:]]*)?hotfix(\(.+\))?:|^(πŸ‘·[[:space:]]*)?build(\(.+\))?:'; then
echo "should_tag=true" >> $GITHUB_OUTPUT
echo "βœ… Detected hotfix PR from title prefix gate"
else
echo "should_tag=false" >> $GITHUB_OUTPUT
- echo "⏭️ Not a hotfix PR (neither hotfix/* branch nor style/feat/fix/refactor/hotfix title prefix)"
+ echo "⏭️ Not a hotfix PR (neither hotfix/* branch nor style/feat/fix/refactor/hotfix/build title prefix)"
fi
- name: Prepare main branch