fix: 添加 workflow 并发控制 - 取消正在运行的旧任务,防止资源竞争
This commit is contained in:
@@ -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:
|
||||||
|
|||||||
@@ -1,4 +1,9 @@
|
|||||||
name: golangci-lint
|
name: golangci-lint
|
||||||
|
|
||||||
|
concurrency:
|
||||||
|
group: golangci-lint
|
||||||
|
cancel-in-progress: true
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
tags:
|
tags:
|
||||||
|
|||||||
Reference in New Issue
Block a user