aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/go.yml
diff options
context:
space:
mode:
authorAlexander <4584443+DragonStuff@users.noreply.github.com>2021-08-28 10:57:13 +0900
committerAlexander <4584443+DragonStuff@users.noreply.github.com>2021-08-28 10:57:13 +0900
commite73044f1f02c88c5bd43e7fb846399b232a8a4ad (patch)
tree0923d211170350ba026b87811b3606ec0a7b2e5a /.github/workflows/go.yml
parent9ac962888cfa71f8800c3c301f115844831a3bbb (diff)
downloadseaweedfs-e73044f1f02c88c5bd43e7fb846399b232a8a4ad.tar.xz
seaweedfs-e73044f1f02c88c5bd43e7fb846399b232a8a4ad.zip
feature(ci): cancel previous runs if in-progress
Diffstat (limited to '.github/workflows/go.yml')
-rw-r--r--.github/workflows/go.yml4
1 files changed, 4 insertions, 0 deletions
diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml
index b2948a0b7..88c0295ab 100644
--- a/.github/workflows/go.yml
+++ b/.github/workflows/go.yml
@@ -6,6 +6,10 @@ on:
pull_request:
branches: [ master ]
+concurrency:
+ group: ${{ github.head_ref }}
+ cancel-in-progress: true
+
jobs:
build: