fix(ci): Add concurrency control to prevent queue buildup
沿用 AIOPS 設計: - cancel-in-progress: true - 新 commit 自動取消舊 workflow - workflow_dispatch 支援手動觸發 - concurrency group 隔離不同分支 Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
6
.github/workflows/cd.yaml
vendored
6
.github/workflows/cd.yaml
vendored
@@ -6,6 +6,12 @@ on:
|
||||
paths-ignore:
|
||||
- 'docs/**'
|
||||
- '*.md'
|
||||
workflow_dispatch:
|
||||
|
||||
# 沿用 AIOPS 設計: 新 commit 自動取消舊 workflow
|
||||
concurrency:
|
||||
group: cd-${{ github.workflow }}-${{ github.ref }}
|
||||
cancel-in-progress: true
|
||||
|
||||
env:
|
||||
REGISTRY: 192.168.0.110:5000
|
||||
|
||||
Reference in New Issue
Block a user