Skip to content

SeaweedFS is a distributed storage system for object storage (S3), file systems, Iceberg table buckets, and Lance vector buckets, designed to handle billions of files with O(1) disk access and effortless horizontal scaling.

feature(ci): cancel previous runs if in-progress

Alexandere73044f1f02c
diff --git a/.github/workflows/container_test.yml b/.github/workflows/container_test.yml
index 7ba460cf2b..8c83e5c947 100644
--- a/.github/workflows/container_test.yml
+++ b/.github/workflows/container_test.yml
@@ -5,6 +5,10 @@ on:
pull_request:
workflow_dispatch: []
+concurrency:
+ group: ${{ github.head_ref }}
+ cancel-in-progress: true
+
jobs:
build-test:
runs-on: [ubuntu-latest]
diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml
index b2948a0b7f..88c0295ab7 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:
diff --git a/.github/workflows/release_test.yml b/.github/workflows/release_test.yml
index d311773012..9049d18ba5 100644
--- a/.github/workflows/release_test.yml
+++ b/.github/workflows/release_test.yml
@@ -5,6 +5,10 @@ on:
pull_request:
workflow_dispatch: []
+concurrency:
+ group: ${{ github.head_ref }}
+ cancel-in-progress: true
+
jobs:
build: