Improve(actions): add concurrency groups (#289)

This commit is contained in:
Jason Lyu
2023-08-28 03:57:16 +08:00
committed by GitHub
parent f1b7b4745b
commit 19ba20ffc0
3 changed files with 14 additions and 0 deletions
+4
View File
@@ -1,5 +1,9 @@
name: Publish Docker Image
concurrency:
group: docker-${{ github.event_name }}-${{ github.ref }}
cancel-in-progress: true
on:
push:
branches:
+6
View File
@@ -1,5 +1,11 @@
name: Linter
concurrency:
group: linter-${{ github.event_name }}-${{ github.ref }}
cancel-in-progress: true
on: [ push, pull_request ]
jobs:
lint:
runs-on: ubuntu-latest
+4
View File
@@ -1,5 +1,9 @@
name: Publish Go Releases
concurrency:
group: release-${{ github.event_name }}-${{ github.ref }}
cancel-in-progress: true
on:
push:
tags: