fix: 添加 workflow 并发控制 - 取消正在运行的旧任务,防止资源竞争

This commit is contained in:
2026-04-20 06:48:10 +08:00
parent aad30bc1e3
commit f52da71d87
2 changed files with 9 additions and 0 deletions
+4
View File
@@ -1,5 +1,9 @@
name: Build Docker Image name: Build Docker Image
concurrency:
group: build-docker
cancel-in-progress: true
on: on:
push: push:
branches: branches:
+5
View File
@@ -1,4 +1,9 @@
name: golangci-lint name: golangci-lint
concurrency:
group: golangci-lint
cancel-in-progress: true
on: on:
push: push:
tags: tags: