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.

🔧 chore(workflow): fix desktop PR build concurrency to isolate per-PR builds (#10005)

YuTengjing637460bdf06f
diff --git a/.github/workflows/desktop-pr-build.yml b/.github/workflows/desktop-pr-build.yml
index 08dfea7c1f5..19bfcd9d7c4 100644
--- a/.github/workflows/desktop-pr-build.yml
+++ b/.github/workflows/desktop-pr-build.yml
@@ -4,9 +4,9 @@ on:
pull_request_target:
types: [synchronize, labeled, unlabeled] # PR 更新或标签变化时触发
-# 确保同一时间只运行一个相同的 workflow,取消正在进行的旧的运行
+# 确保同一 PR 同一时间只运行一个相同的 workflow,取消正在进行的旧的运行
concurrency:
- group: ${{ github.ref }}-${{ github.workflow }}
+ group: pr-${{ github.event.pull_request.number }}-${{ github.workflow }}
cancel-in-progress: true
# Add default permissions