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.
Go blob-storagecloud-drivedistributed-file-systemdistributed-storageerasure-codingfusehadoop-hdfshdfskuberneteslancelancedbobject-storageposixs3s3-storageseaweedfstiered-file-systemvector-search
ci: cancel superseded workflow runs on PR pushes (#11979)
Chris Luf7af816ab415
diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.ymlindex d8545097d0..edc2af3c98 100644--- a/.github/workflows/codeql.yml+++ b/.github/workflows/codeql.yml@@ -9,8 +9,8 @@ on:- '.github/workflows/codeql.yml'concurrency:- group: ${{ github.head_ref }}/codeql- cancel-in-progress: true+ group: ${{ github.workflow }}-${{ github.event.pull_request.number || (github.event_name == 'push' && github.ref) || github.run_id }}+ cancel-in-progress: ${{ github.event_name == 'pull_request' || (github.event_name == 'push' && !startsWith(github.ref, 'refs/tags/')) }}jobs:CodeQL-Build:diff --git a/.github/workflows/codespell.yml b/.github/workflows/codespell.ymlindex 9c4d99a79e..a7be2ead3b 100644--- a/.github/workflows/codespell.yml+++ b/.github/workflows/codespell.yml@@ -8,6 +8,10 @@ on:pull_request:branches: [master]+concurrency:+ group: ${{ github.workflow }}-${{ github.event.pull_request.number || (github.event_name == 'push' && github.ref) || github.run_id }}+ cancel-in-progress: ${{ github.event_name == 'pull_request' || (github.event_name == 'push' && !startsWith(github.ref, 'refs/tags/')) }}+permissions:contents: readdiff --git a/.github/workflows/container_dev.yml b/.github/workflows/container_dev.ymlindex f20820a59f..f5d880a8ec 100644--- a/.github/workflows/container_dev.yml+++ b/.github/workflows/container_dev.yml@@ -13,6 +13,10 @@ on:- 'go.sum'- '.github/workflows/container_dev.yml'+concurrency:+ group: ${{ github.workflow }}-${{ github.event.pull_request.number || (github.event_name == 'push' && github.ref) || github.run_id }}+ cancel-in-progress: ${{ github.event_name == 'pull_request' || (github.event_name == 'push' && !startsWith(github.ref, 'refs/tags/')) }}+permissions:contents: readdiff --git a/.github/workflows/container_foundationdb_version.yml b/.github/workflows/container_foundationdb_version.ymlindex 6fa0149b76..6903dcf2c0 100644--- a/.github/workflows/container_foundationdb_version.yml+++ b/.github/workflows/container_foundationdb_version.yml@@ -24,6 +24,10 @@ on:required: falsedefault: ''+concurrency:+ group: ${{ github.workflow }}-${{ github.event.pull_request.number || (github.event_name == 'push' && github.ref) || github.event.inputs.image_tag || format('foundationdb_{0}_seaweedfs_{1}', github.event.inputs.fdb_version || '7.4.5', github.event.inputs.seaweedfs_ref || github.ref_name) }}+ cancel-in-progress: ${{ github.event_name == 'pull_request' || (github.event_name == 'push' && !startsWith(github.ref, 'refs/tags/')) }}+permissions:contents: readdiff --git a/.github/workflows/container_latest.yml b/.github/workflows/container_latest.ymlindex 7a47628824..3d99baaf24 100644--- a/.github/workflows/container_latest.yml+++ b/.github/workflows/container_latest.yml@@ -30,6 +30,11 @@ on:type: booleandefault: false+concurrency:+ group: ${{ github.workflow }}-${{ github.event.pull_request.number || (github.event_name == 'push' && github.ref) || github.event.inputs.image_tag || github.run_id }}+ cancel-in-progress: false+ queue: max+permissions:contents: readsecurity-events: writediff --git a/.github/workflows/container_release_foundationdb.yml b/.github/workflows/container_release_foundationdb.ymlindex bf1270b0a8..2050d99604 100644--- a/.github/workflows/container_release_foundationdb.yml+++ b/.github/workflows/container_release_foundationdb.yml@@ -11,6 +11,11 @@ on:required: truedefault: ''+concurrency:+ group: ${{ github.workflow }}-${{ github.event.pull_request.number || (github.event_name == 'push' && github.ref) || format('refs/tags/{0}', github.event.inputs.release_tag) || github.run_id }}+ cancel-in-progress: false+ queue: max+permissions:contents: readdiff --git a/.github/workflows/container_rocksdb_version.yml b/.github/workflows/container_rocksdb_version.ymlindex 89b4e82049..f06eb500f4 100644--- a/.github/workflows/container_rocksdb_version.yml+++ b/.github/workflows/container_rocksdb_version.yml@@ -16,6 +16,11 @@ on:required: falsedefault: ''+concurrency:+ group: ${{ github.workflow }}-${{ github.event.inputs.image_tag || format('rocksdb_{0}_seaweedfs_{1}', github.event.inputs.rocksdb_version, github.event.inputs.seaweedfs_ref) }}+ cancel-in-progress: false+ queue: max+permissions:contents: readdiff --git a/.github/workflows/depsreview.yml b/.github/workflows/depsreview.ymlindex e4338c240a..0ba5dbcd2c 100644--- a/.github/workflows/depsreview.yml+++ b/.github/workflows/depsreview.yml@@ -1,6 +1,10 @@name: 'Dependency Review'on: [pull_request]+concurrency:+ group: ${{ github.workflow }}-${{ github.event.pull_request.number || (github.event_name == 'push' && github.ref) || github.run_id }}+ cancel-in-progress: ${{ github.event_name == 'pull_request' || (github.event_name == 'push' && !startsWith(github.ref, 'refs/tags/')) }}+permissions:contents: readdiff --git a/.github/workflows/e2e.yml b/.github/workflows/e2e.ymlindex 0e58880119..ef5daf28bd 100644--- a/.github/workflows/e2e.yml+++ b/.github/workflows/e2e.yml@@ -19,8 +19,8 @@ on:- '.github/workflows/e2e.yml'concurrency:- group: ${{ github.head_ref }}/e2e- cancel-in-progress: true+ group: ${{ github.workflow }}-${{ github.event.pull_request.number || (github.event_name == 'push' && github.ref) || github.run_id }}+ cancel-in-progress: ${{ github.event_name == 'pull_request' || (github.event_name == 'push' && !startsWith(github.ref, 'refs/tags/')) }}permissions:contents: readdiff --git a/.github/workflows/ec-integration-tests.yml b/.github/workflows/ec-integration-tests.ymlindex e078e01e6c..ec26d446eb 100644--- a/.github/workflows/ec-integration-tests.yml+++ b/.github/workflows/ec-integration-tests.yml@@ -18,6 +18,10 @@ on:- 'go.sum'- '.github/workflows/ec-integration-tests.yml'+concurrency:+ group: ${{ github.workflow }}-${{ github.event.pull_request.number || (github.event_name == 'push' && github.ref) || github.run_id }}+ cancel-in-progress: ${{ github.event_name == 'pull_request' || (github.event_name == 'push' && !startsWith(github.ref, 'refs/tags/')) }}+permissions:contents: readdiff --git a/.github/workflows/fuse-dlm-integration.yml b/.github/workflows/fuse-dlm-integration.ymlindex 47a27cc199..f4a7931d8b 100644--- a/.github/workflows/fuse-dlm-integration.yml+++ b/.github/workflows/fuse-dlm-integration.yml@@ -19,8 +19,8 @@ on:- '.github/actions/fix-fusermount-setuid/**'concurrency:- group: ${{ github.head_ref || github.ref }}/fuse-dlm-integration- cancel-in-progress: true+ group: ${{ github.workflow }}-${{ github.event.pull_request.number || (github.event_name == 'push' && github.ref) || github.run_id }}+ cancel-in-progress: ${{ github.event_name == 'pull_request' || (github.event_name == 'push' && !startsWith(github.ref, 'refs/tags/')) }}permissions:contents: readdiff --git a/.github/workflows/fuse-failover.yml b/.github/workflows/fuse-failover.ymlindex c11ca3e2f1..e73d588ba4 100644--- a/.github/workflows/fuse-failover.yml+++ b/.github/workflows/fuse-failover.yml@@ -24,8 +24,8 @@ on:- '.github/actions/fix-fusermount-setuid/**'concurrency:- group: ${{ github.head_ref || github.ref }}/fuse-failover- cancel-in-progress: true+ group: ${{ github.workflow }}-${{ github.event.pull_request.number || (github.event_name == 'push' && github.ref) || github.run_id }}+ cancel-in-progress: ${{ github.event_name == 'pull_request' || (github.event_name == 'push' && !startsWith(github.ref, 'refs/tags/')) }}permissions:contents: readdiff --git a/.github/workflows/fuse-integration.yml b/.github/workflows/fuse-integration.ymlindex 3b23cb2228..8482eb287d 100644--- a/.github/workflows/fuse-integration.yml+++ b/.github/workflows/fuse-integration.yml@@ -17,8 +17,8 @@ on:- '.github/actions/fix-fusermount-setuid/**'concurrency:- group: ${{ github.head_ref }}/fuse-integration- cancel-in-progress: true+ group: ${{ github.workflow }}-${{ github.event.pull_request.number || (github.event_name == 'push' && github.ref) || github.run_id }}+ cancel-in-progress: ${{ github.event_name == 'pull_request' || (github.event_name == 'push' && !startsWith(github.ref, 'refs/tags/')) }}permissions:contents: readdiff --git a/.github/workflows/fuse-p2p-integration.yml b/.github/workflows/fuse-p2p-integration.ymlindex 28771e11a9..8cb5f2eca7 100644--- a/.github/workflows/fuse-p2p-integration.yml+++ b/.github/workflows/fuse-p2p-integration.yml@@ -25,8 +25,8 @@ on:- '.github/actions/fix-fusermount-setuid/**'concurrency:- group: ${{ github.head_ref || github.ref }}/fuse-p2p-integration- cancel-in-progress: true+ group: ${{ github.workflow }}-${{ github.event.pull_request.number || (github.event_name == 'push' && github.ref) || github.run_id }}+ cancel-in-progress: ${{ github.event_name == 'pull_request' || (github.event_name == 'push' && !startsWith(github.ref, 'refs/tags/')) }}permissions:contents: readdiff --git a/.github/workflows/go.yml b/.github/workflows/go.ymlindex b2e5b52979..ffffaee697 100644--- a/.github/workflows/go.yml+++ b/.github/workflows/go.yml@@ -17,8 +17,8 @@ on:- '.github/workflows/go.yml'concurrency:- group: ${{ github.head_ref }}/go- cancel-in-progress: true+ group: ${{ github.workflow }}-${{ github.event.pull_request.number || (github.event_name == 'push' && github.ref) || github.run_id }}+ cancel-in-progress: ${{ github.event_name == 'pull_request' || (github.event_name == 'push' && !startsWith(github.ref, 'refs/tags/')) }}permissions:contents: readdiff --git a/.github/workflows/helm_ci.yml b/.github/workflows/helm_ci.ymlindex ce0ecf916b..0a75617d79 100644--- a/.github/workflows/helm_ci.yml+++ b/.github/workflows/helm_ci.yml@@ -8,6 +8,10 @@ on:branches: [ master ]paths: ['k8s/**', '.github/workflows/helm_ci.yml', '.github/scripts/helm_jwt_keys.py']+concurrency:+ group: ${{ github.workflow }}-${{ github.event.pull_request.number || (github.event_name == 'push' && github.ref) || github.run_id }}+ cancel-in-progress: ${{ github.event_name == 'pull_request' || (github.event_name == 'push' && !startsWith(github.ref, 'refs/tags/')) }}+permissions:contents: readdiff --git a/.github/workflows/java_integration_tests.yml b/.github/workflows/java_integration_tests.ymlindex 075df5f857..9dc3461c82 100644--- a/.github/workflows/java_integration_tests.yml+++ b/.github/workflows/java_integration_tests.yml@@ -14,6 +14,10 @@ on:- 'weed/**'- '.github/workflows/java_integration_tests.yml'+concurrency:+ group: ${{ github.workflow }}-${{ github.event.pull_request.number || (github.event_name == 'push' && github.ref) || github.run_id }}+ cancel-in-progress: ${{ github.event_name == 'pull_request' || (github.event_name == 'push' && !startsWith(github.ref, 'refs/tags/')) }}+jobs:test:name: Java Integration Testsdiff --git a/.github/workflows/java_unit_tests.yml b/.github/workflows/java_unit_tests.ymlindex 753d1708e8..c34f49b687 100644--- a/.github/workflows/java_unit_tests.yml+++ b/.github/workflows/java_unit_tests.yml@@ -12,6 +12,10 @@ on:- 'other/java/**'- '.github/workflows/java_unit_tests.yml'+concurrency:+ group: ${{ github.workflow }}-${{ github.event.pull_request.number || (github.event_name == 'push' && github.ref) || github.run_id }}+ cancel-in-progress: ${{ github.event_name == 'pull_request' || (github.event_name == 'push' && !startsWith(github.ref, 'refs/tags/')) }}+jobs:test:name: Java Unit Testsdiff --git a/.github/workflows/kafka-quicktest.yml b/.github/workflows/kafka-quicktest.ymlindex c18a87048b..165028635a 100644--- a/.github/workflows/kafka-quicktest.yml+++ b/.github/workflows/kafka-quicktest.yml@@ -24,8 +24,8 @@ on:workflow_dispatch: # Allow manual triggerconcurrency:- group: ${{ github.head_ref }}/kafka-quicktest- cancel-in-progress: true+ group: ${{ github.workflow }}-${{ github.event.pull_request.number || (github.event_name == 'push' && github.ref) || github.run_id }}+ cancel-in-progress: ${{ github.event_name == 'pull_request' || (github.event_name == 'push' && !startsWith(github.ref, 'refs/tags/')) }}permissions:contents: readdiff --git a/.github/workflows/kafka-tests.yml b/.github/workflows/kafka-tests.ymlindex 7a40ee3583..c0e15cee89 100644--- a/.github/workflows/kafka-tests.yml+++ b/.github/workflows/kafka-tests.yml@@ -23,8 +23,8 @@ on:- '.github/workflows/kafka-tests.yml'concurrency:- group: ${{ github.head_ref }}/kafka-tests- cancel-in-progress: true+ group: ${{ github.workflow }}-${{ github.event.pull_request.number || (github.event_name == 'push' && github.ref) || github.run_id }}+ cancel-in-progress: ${{ github.event_name == 'pull_request' || (github.event_name == 'push' && !startsWith(github.ref, 'refs/tags/')) }}# Force different runners for better isolationenv:diff --git a/.github/workflows/kms-tests.yml b/.github/workflows/kms-tests.ymlindex 3c997fd523..6e020f0dea 100644--- a/.github/workflows/kms-tests.yml+++ b/.github/workflows/kms-tests.yml@@ -19,8 +19,8 @@ on:- 'test/kms/**'concurrency:- group: ${{ github.head_ref || github.ref }}-kms-tests- cancel-in-progress: true+ group: ${{ github.workflow }}-${{ github.event.pull_request.number || (github.event_name == 'push' && github.ref) || github.run_id }}+ cancel-in-progress: ${{ github.event_name == 'pull_request' || (github.event_name == 'push' && !startsWith(github.ref, 'refs/tags/')) }}permissions:contents: readdiff --git a/.github/workflows/master-cold-start-tests.yml b/.github/workflows/master-cold-start-tests.ymlindex bd0ed72243..bd983c7c84 100644--- a/.github/workflows/master-cold-start-tests.yml+++ b/.github/workflows/master-cold-start-tests.yml@@ -21,8 +21,8 @@ on:- '.github/workflows/master-cold-start-tests.yml'concurrency:- group: ${{ github.head_ref || github.ref }}/master-cold-start-tests- cancel-in-progress: true+ group: ${{ github.workflow }}-${{ github.event.pull_request.number || (github.event_name == 'push' && github.ref) || github.run_id }}+ cancel-in-progress: ${{ github.event_name == 'pull_request' || (github.event_name == 'push' && !startsWith(github.ref, 'refs/tags/')) }}permissions:contents: readdiff --git a/.github/workflows/metadata-subscribe-tests.yml b/.github/workflows/metadata-subscribe-tests.ymlindex b47c16b9cd..e674986b0d 100644--- a/.github/workflows/metadata-subscribe-tests.yml+++ b/.github/workflows/metadata-subscribe-tests.yml@@ -25,8 +25,8 @@ on:- '.github/workflows/metadata-subscribe-tests.yml'concurrency:- group: ${{ github.head_ref }}/metadata-subscribe-tests- cancel-in-progress: true+ group: ${{ github.workflow }}-${{ github.event.pull_request.number || (github.event_name == 'push' && github.ref) || github.run_id }}+ cancel-in-progress: ${{ github.event_name == 'pull_request' || (github.event_name == 'push' && !startsWith(github.ref, 'refs/tags/')) }}permissions:contents: readdiff --git a/.github/workflows/mount-benchmark.yml b/.github/workflows/mount-benchmark.ymlindex 90310ee6cf..52c7dcb49d 100644--- a/.github/workflows/mount-benchmark.yml+++ b/.github/workflows/mount-benchmark.yml@@ -10,8 +10,8 @@ on:branches: [ 'winfsp-bench**' ]concurrency:- group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}- cancel-in-progress: true+ group: ${{ github.workflow }}-${{ github.event.pull_request.number || (github.event_name == 'push' && github.ref) || github.run_id }}+ cancel-in-progress: ${{ github.event_name == 'pull_request' || (github.event_name == 'push' && !startsWith(github.ref, 'refs/tags/')) }}permissions:contents: readdiff --git a/.github/workflows/mount-windows-conformance.yml b/.github/workflows/mount-windows-conformance.ymlindex 6d490c5d8a..c9aab26a02 100644--- a/.github/workflows/mount-windows-conformance.yml+++ b/.github/workflows/mount-windows-conformance.yml@@ -24,8 +24,8 @@ on:- '.github/workflows/mount-windows-conformance.yml'concurrency:- group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}- cancel-in-progress: true+ group: ${{ github.workflow }}-${{ github.event.pull_request.number || (github.event_name == 'push' && github.ref) || github.run_id }}+ cancel-in-progress: ${{ github.event_name == 'pull_request' || (github.event_name == 'push' && !startsWith(github.ref, 'refs/tags/')) }}permissions:contents: readdiff --git a/.github/workflows/mount-windows.yml b/.github/workflows/mount-windows.ymlindex 91f61d8093..18cac2773a 100644--- a/.github/workflows/mount-windows.yml+++ b/.github/workflows/mount-windows.yml@@ -24,8 +24,8 @@ on:- '.github/workflows/mount-windows.yml'concurrency:- group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}- cancel-in-progress: true+ group: ${{ github.workflow }}-${{ github.event.pull_request.number || (github.event_name == 'push' && github.ref) || github.run_id }}+ cancel-in-progress: ${{ github.event_name == 'pull_request' || (github.event_name == 'push' && !startsWith(github.ref, 'refs/tags/')) }}permissions:contents: readdiff --git a/.github/workflows/multi-master-tests.yml b/.github/workflows/multi-master-tests.ymlindex 2e0cfe8d95..b42d507f09 100644--- a/.github/workflows/multi-master-tests.yml+++ b/.github/workflows/multi-master-tests.yml@@ -21,8 +21,8 @@ on:- '.github/workflows/multi-master-tests.yml'concurrency:- group: ${{ github.head_ref || github.ref }}/multi-master-tests- cancel-in-progress: true+ group: ${{ github.workflow }}-${{ github.event.pull_request.number || (github.event_name == 'push' && github.ref) || github.run_id }}+ cancel-in-progress: ${{ github.event_name == 'pull_request' || (github.event_name == 'push' && !startsWith(github.ref, 'refs/tags/')) }}permissions:contents: readdiff --git a/.github/workflows/performance.yml b/.github/workflows/performance.ymlindex 95750f6891..8dd438382c 100644--- a/.github/workflows/performance.yml+++ b/.github/workflows/performance.yml@@ -45,8 +45,8 @@ on:type: stringconcurrency:- group: ${{ github.head_ref || github.ref }}/performance- cancel-in-progress: true+ group: ${{ github.workflow }}-${{ github.event.pull_request.number || (github.event_name == 'push' && github.ref) || github.run_id }}+ cancel-in-progress: ${{ github.event_name == 'pull_request' || (github.event_name == 'push' && !startsWith(github.ref, 'refs/tags/')) }}permissions:contents: readdiff --git a/.github/workflows/plugin-workers.yml b/.github/workflows/plugin-workers.ymlindex b3f10551c4..94fb1fbf60 100644--- a/.github/workflows/plugin-workers.yml+++ b/.github/workflows/plugin-workers.yml@@ -18,6 +18,10 @@ on:- 'go.sum'- '.github/workflows/plugin-workers.yml'+concurrency:+ group: ${{ github.workflow }}-${{ github.event.pull_request.number || (github.event_name == 'push' && github.ref) || github.run_id }}+ cancel-in-progress: ${{ github.event_name == 'pull_request' || (github.event_name == 'push' && !startsWith(github.ref, 'refs/tags/')) }}+permissions:contents: readdiff --git a/.github/workflows/postgres-tests.yml b/.github/workflows/postgres-tests.ymlindex a0369b134e..d3eff2fe15 100644--- a/.github/workflows/postgres-tests.yml+++ b/.github/workflows/postgres-tests.yml@@ -23,8 +23,8 @@ on:- '.github/workflows/postgres-tests.yml'concurrency:- group: ${{ github.head_ref }}/postgres-tests- cancel-in-progress: true+ group: ${{ github.workflow }}-${{ github.event.pull_request.number || (github.event_name == 'push' && github.ref) || github.run_id }}+ cancel-in-progress: ${{ github.event_name == 'pull_request' || (github.event_name == 'push' && !startsWith(github.ref, 'refs/tags/')) }}permissions:contents: readdiff --git a/.github/workflows/rust-volume-server-tests.yml b/.github/workflows/rust-volume-server-tests.ymlindex fd68db1a5d..b88a245876 100644--- a/.github/workflows/rust-volume-server-tests.yml+++ b/.github/workflows/rust-volume-server-tests.yml@@ -21,8 +21,8 @@ on:- '.github/workflows/rust-volume-server-tests.yml'concurrency:- group: ${{ github.workflow }}-${{ github.head_ref || github.ref }}- cancel-in-progress: true+ group: ${{ github.workflow }}-${{ github.event.pull_request.number || (github.event_name == 'push' && github.ref) || github.run_id }}+ cancel-in-progress: ${{ github.event_name == 'pull_request' || (github.event_name == 'push' && !startsWith(github.ref, 'refs/tags/')) }}permissions:contents: readdiff --git a/.github/workflows/rust-worker-tests.yml b/.github/workflows/rust-worker-tests.ymlindex d2fde3ed0d..66510cf101 100644--- a/.github/workflows/rust-worker-tests.yml+++ b/.github/workflows/rust-worker-tests.yml@@ -17,8 +17,8 @@ on:- '.github/workflows/rust-worker-tests.yml'concurrency:- group: ${{ github.workflow }}-${{ github.head_ref || github.ref }}- cancel-in-progress: true+ group: ${{ github.workflow }}-${{ github.event.pull_request.number || (github.event_name == 'push' && github.ref) || github.run_id }}+ cancel-in-progress: ${{ github.event_name == 'pull_request' || (github.event_name == 'push' && !startsWith(github.ref, 'refs/tags/')) }}permissions:contents: readdiff --git a/.github/workflows/s3-etag-acl-tests.yml b/.github/workflows/s3-etag-acl-tests.ymlindex 12425f6f70..13fb6cffb9 100644--- a/.github/workflows/s3-etag-acl-tests.yml+++ b/.github/workflows/s3-etag-acl-tests.yml@@ -21,8 +21,8 @@ on:- '.github/workflows/s3-etag-acl-tests.yml'concurrency:- group: ${{ github.head_ref || github.ref }}/s3-etag-acl-tests- cancel-in-progress: true+ group: ${{ github.workflow }}-${{ github.event.pull_request.number || (github.event_name == 'push' && github.ref) || github.run_id }}+ cancel-in-progress: ${{ github.event_name == 'pull_request' || (github.event_name == 'push' && !startsWith(github.ref, 'refs/tags/')) }}permissions:contents: readdiff --git a/.github/workflows/s3-example-integration-tests.yml b/.github/workflows/s3-example-integration-tests.ymlindex 4e39c3bc07..1765b2f818 100644--- a/.github/workflows/s3-example-integration-tests.yml+++ b/.github/workflows/s3-example-integration-tests.yml@@ -13,8 +13,8 @@ on:- '.github/workflows/s3-example-integration-tests.yml'concurrency:- group: ${{ github.head_ref }}/s3-integration-tests- cancel-in-progress: true+ group: ${{ github.workflow }}-${{ github.event.pull_request.number || (github.event_name == 'push' && github.ref) || github.run_id }}+ cancel-in-progress: ${{ github.event_name == 'pull_request' || (github.event_name == 'push' && !startsWith(github.ref, 'refs/tags/')) }}permissions:contents: readdiff --git a/.github/workflows/s3-filer-group-tests.yml b/.github/workflows/s3-filer-group-tests.ymlindex bda1ac2bca..2fcfc8e692 100644--- a/.github/workflows/s3-filer-group-tests.yml+++ b/.github/workflows/s3-filer-group-tests.yml@@ -12,8 +12,8 @@ on:- '.github/workflows/s3-filer-group-tests.yml'concurrency:- group: ${{ github.head_ref }}/s3-filer-group-tests- cancel-in-progress: true+ group: ${{ github.workflow }}-${{ github.event.pull_request.number || (github.event_name == 'push' && github.ref) || github.run_id }}+ cancel-in-progress: ${{ github.event_name == 'pull_request' || (github.event_name == 'push' && !startsWith(github.ref, 'refs/tags/')) }}permissions:contents: readdiff --git a/.github/workflows/s3-go-tests.yml b/.github/workflows/s3-go-tests.ymlindex 3a5c07395b..168d75efc3 100644--- a/.github/workflows/s3-go-tests.yml+++ b/.github/workflows/s3-go-tests.yml@@ -12,8 +12,8 @@ on:- '.github/workflows/s3-go-tests.yml'concurrency:- group: ${{ github.head_ref }}/s3-go-tests- cancel-in-progress: true+ group: ${{ github.workflow }}-${{ github.event.pull_request.number || (github.event_name == 'push' && github.ref) || github.run_id }}+ cancel-in-progress: ${{ github.event_name == 'pull_request' || (github.event_name == 'push' && !startsWith(github.ref, 'refs/tags/')) }}permissions:contents: readdiff --git a/.github/workflows/s3-iam-tests.yml b/.github/workflows/s3-iam-tests.ymlindex 121f835083..5bf89d7e70 100644--- a/.github/workflows/s3-iam-tests.yml+++ b/.github/workflows/s3-iam-tests.yml@@ -20,8 +20,8 @@ on:- '.github/workflows/s3-iam-tests.yml'concurrency:- group: ${{ github.head_ref }}/s3-iam-tests- cancel-in-progress: true+ group: ${{ github.workflow }}-${{ github.event.pull_request.number || (github.event_name == 'push' && github.ref) || github.run_id }}+ cancel-in-progress: ${{ github.event_name == 'pull_request' || (github.event_name == 'push' && !startsWith(github.ref, 'refs/tags/')) }}permissions:contents: readdiff --git a/.github/workflows/s3-keycloak-tests.yml b/.github/workflows/s3-keycloak-tests.ymlindex d2677431c1..a5a34d45f3 100644--- a/.github/workflows/s3-keycloak-tests.yml+++ b/.github/workflows/s3-keycloak-tests.yml@@ -16,8 +16,8 @@ on:- '.github/workflows/s3-keycloak-tests.yml'concurrency:- group: ${{ github.head_ref }}/s3-keycloak-tests- cancel-in-progress: true+ group: ${{ github.workflow }}-${{ github.event.pull_request.number || (github.event_name == 'push' && github.ref) || github.run_id }}+ cancel-in-progress: ${{ github.event_name == 'pull_request' || (github.event_name == 'push' && !startsWith(github.ref, 'refs/tags/')) }}permissions:contents: readdiff --git a/.github/workflows/s3-mutation-regression-tests.yml b/.github/workflows/s3-mutation-regression-tests.ymlindex acf09a8f27..0f30ef4edb 100644--- a/.github/workflows/s3-mutation-regression-tests.yml+++ b/.github/workflows/s3-mutation-regression-tests.yml@@ -12,8 +12,8 @@ on:- '.github/workflows/s3-mutation-regression-tests.yml'concurrency:- group: ${{ github.head_ref }}/s3-mutation-regression-tests- cancel-in-progress: true+ group: ${{ github.workflow }}-${{ github.event.pull_request.number || (github.event_name == 'push' && github.ref) || github.run_id }}+ cancel-in-progress: ${{ github.event_name == 'pull_request' || (github.event_name == 'push' && !startsWith(github.ref, 'refs/tags/')) }}permissions:contents: readdiff --git a/.github/workflows/s3-parquet-tests.yml b/.github/workflows/s3-parquet-tests.ymlindex b86c3869e4..20403a533d 100644--- a/.github/workflows/s3-parquet-tests.yml+++ b/.github/workflows/s3-parquet-tests.yml@@ -23,6 +23,10 @@ env:S3_ENDPOINT_URL: http://localhost:8333BUCKET_NAME: test-parquet-bucket+concurrency:+ group: ${{ github.workflow }}-${{ github.event.pull_request.number || (github.event_name == 'push' && github.ref) || github.run_id }}+ cancel-in-progress: ${{ github.event_name == 'pull_request' || (github.event_name == 'push' && !startsWith(github.ref, 'refs/tags/')) }}+jobs:parquet-integration-tests:name: PyArrow Parquet Tests (Python ${{ matrix.python-version }})diff --git a/.github/workflows/s3-policy-tests.yml b/.github/workflows/s3-policy-tests.ymlindex 7bb900c150..99c1949b18 100644--- a/.github/workflows/s3-policy-tests.yml+++ b/.github/workflows/s3-policy-tests.yml@@ -24,8 +24,8 @@ on:- '.github/workflows/s3-policy-tests.yml'concurrency:- group: ${{ github.head_ref }}/s3-policy-tests- cancel-in-progress: true+ group: ${{ github.workflow }}-${{ github.event.pull_request.number || (github.event_name == 'push' && github.ref) || github.run_id }}+ cancel-in-progress: ${{ github.event_name == 'pull_request' || (github.event_name == 'push' && !startsWith(github.ref, 'refs/tags/')) }}permissions:contents: readdiff --git a/.github/workflows/s3-proxy-signature-tests.yml b/.github/workflows/s3-proxy-signature-tests.ymlindex a8cc6c3679..40756e0982 100644--- a/.github/workflows/s3-proxy-signature-tests.yml+++ b/.github/workflows/s3-proxy-signature-tests.yml@@ -21,8 +21,8 @@ on:- '.github/workflows/s3-proxy-signature-tests.yml'concurrency:- group: ${{ github.head_ref || github.ref }}/s3-proxy-signature-tests- cancel-in-progress: true+ group: ${{ github.workflow }}-${{ github.event.pull_request.number || (github.event_name == 'push' && github.ref) || github.run_id }}+ cancel-in-progress: ${{ github.event_name == 'pull_request' || (github.event_name == 'push' && !startsWith(github.ref, 'refs/tags/')) }}permissions:contents: readdiff --git a/.github/workflows/s3-sdk-v2-routing-tests.yml b/.github/workflows/s3-sdk-v2-routing-tests.ymlindex e63528e145..477c5ef7fd 100644--- a/.github/workflows/s3-sdk-v2-routing-tests.yml+++ b/.github/workflows/s3-sdk-v2-routing-tests.yml@@ -15,8 +15,8 @@ on:- '.github/workflows/s3-sdk-v2-routing-tests.yml'concurrency:- group: ${{ github.head_ref || github.ref }}/s3-sdk-v2-routing-tests- cancel-in-progress: true+ group: ${{ github.workflow }}-${{ github.event.pull_request.number || (github.event_name == 'push' && github.ref) || github.run_id }}+ cancel-in-progress: ${{ github.event_name == 'pull_request' || (github.event_name == 'push' && !startsWith(github.ref, 'refs/tags/')) }}permissions:contents: readdiff --git a/.github/workflows/s3-spark-tests.yml b/.github/workflows/s3-spark-tests.ymlindex c8682992de..b6e7580a8c 100644--- a/.github/workflows/s3-spark-tests.yml+++ b/.github/workflows/s3-spark-tests.yml@@ -11,8 +11,8 @@ on:workflow_dispatch:concurrency:- group: ${{ github.head_ref }}/s3-spark-tests- cancel-in-progress: true+ group: ${{ github.workflow }}-${{ github.event.pull_request.number || (github.event_name == 'push' && github.ref) || github.run_id }}+ cancel-in-progress: ${{ github.event_name == 'pull_request' || (github.event_name == 'push' && !startsWith(github.ref, 'refs/tags/')) }}permissions:contents: readdiff --git a/.github/workflows/s3-sse-tests.yml b/.github/workflows/s3-sse-tests.ymlindex d1e2102203..9dfe3f8758 100644--- a/.github/workflows/s3-sse-tests.yml+++ b/.github/workflows/s3-sse-tests.yml@@ -23,8 +23,8 @@ on:- 'test/s3/sse/**'concurrency:- group: ${{ github.head_ref }}/s3-sse-tests- cancel-in-progress: true+ group: ${{ github.workflow }}-${{ github.event.pull_request.number || (github.event_name == 'push' && github.ref) || github.run_id }}+ cancel-in-progress: ${{ github.event_name == 'pull_request' || (github.event_name == 'push' && !startsWith(github.ref, 'refs/tags/')) }}permissions:contents: readdiff --git a/.github/workflows/s3-tables-tests.yml b/.github/workflows/s3-tables-tests.ymlindex 19c1395fe6..275098d960 100644--- a/.github/workflows/s3-tables-tests.yml+++ b/.github/workflows/s3-tables-tests.yml@@ -12,6 +12,10 @@ on:- 'go.sum'- '.github/workflows/s3-tables-tests.yml'+concurrency:+ group: ${{ github.workflow }}-${{ github.event.pull_request.number || (github.event_name == 'push' && github.ref) || github.run_id }}+ cancel-in-progress: ${{ github.event_name == 'pull_request' || (github.event_name == 'push' && !startsWith(github.ref, 'refs/tags/')) }}+permissions:contents: readdiff --git a/.github/workflows/s3tests.yml b/.github/workflows/s3tests.ymlindex 7d481a3f63..353009c4ce 100644--- a/.github/workflows/s3tests.yml+++ b/.github/workflows/s3tests.yml@@ -25,8 +25,8 @@ on:- '.github/workflows/s3tests.yml'concurrency:- group: ${{ github.head_ref }}/s3tests- cancel-in-progress: true+ group: ${{ github.workflow }}-${{ github.event.pull_request.number || (github.event_name == 'push' && github.ref) || github.run_id }}+ cancel-in-progress: ${{ github.event_name == 'pull_request' || (github.event_name == 'push' && !startsWith(github.ref, 'refs/tags/')) }}permissions:contents: readdiff --git a/.github/workflows/sftp-tests.yml b/.github/workflows/sftp-tests.ymlindex 377608dcf3..9782d4e240 100644--- a/.github/workflows/sftp-tests.yml+++ b/.github/workflows/sftp-tests.yml@@ -17,8 +17,8 @@ on:- '.github/workflows/sftp-tests.yml'concurrency:- group: ${{ github.head_ref }}/sftp-tests- cancel-in-progress: true+ group: ${{ github.workflow }}-${{ github.event.pull_request.number || (github.event_name == 'push' && github.ref) || github.run_id }}+ cancel-in-progress: ${{ github.event_name == 'pull_request' || (github.event_name == 'push' && !startsWith(github.ref, 'refs/tags/')) }}permissions:contents: readdiff --git a/.github/workflows/spark-integration-tests.yml b/.github/workflows/spark-integration-tests.ymlindex 9a18898e2b..20c2830e34 100644--- a/.github/workflows/spark-integration-tests.yml+++ b/.github/workflows/spark-integration-tests.yml@@ -15,6 +15,10 @@ on:- '.github/workflows/spark-integration-tests.yml'workflow_dispatch:+concurrency:+ group: ${{ github.workflow }}-${{ github.event.pull_request.number || (github.event_name == 'push' && github.ref) || github.run_id }}+ cancel-in-progress: ${{ github.event_name == 'pull_request' || (github.event_name == 'push' && !startsWith(github.ref, 'refs/tags/')) }}+permissions:contents: readchecks: writediff --git a/.github/workflows/star_history.yml b/.github/workflows/star_history.ymlindex 0734b27352..2c87130703 100644--- a/.github/workflows/star_history.yml+++ b/.github/workflows/star_history.yml@@ -10,12 +10,11 @@ permissions:contents: writeconcurrency:- # Only one chart regeneration per branch at a time; a newer run on the same- # branch cancels an in-flight one so overlapping runs never conflict on- # note/star_history.svg during rebase. Scoped by ref so a manual run on- # another branch can't cancel the daily master update.+ # Only one chart regeneration per branch at a time so overlapping runs never+ # conflict on note/star_history.svg during rebase. Scoped by ref so a manual+ # run on another branch can't cancel the daily master update.group: star-history-${{ github.ref }}- cancel-in-progress: true+ cancel-in-progress: ${{ github.event_name == 'pull_request' || (github.event_name == 'push' && !startsWith(github.ref, 'refs/tags/')) }}jobs:render:diff --git a/.github/workflows/telemetry-integration.yml b/.github/workflows/telemetry-integration.ymlindex 68dd2d1b79..12f99a204f 100644--- a/.github/workflows/telemetry-integration.yml+++ b/.github/workflows/telemetry-integration.yml@@ -14,6 +14,10 @@ on:- 'weed/telemetry/**'- '.github/workflows/telemetry-integration.yml'+concurrency:+ group: ${{ github.workflow }}-${{ github.event.pull_request.number || (github.event_name == 'push' && github.ref) || github.run_id }}+ cancel-in-progress: ${{ github.event_name == 'pull_request' || (github.event_name == 'push' && !startsWith(github.ref, 'refs/tags/')) }}+permissions:contents: readdiff --git a/.github/workflows/terraform_ci.yml b/.github/workflows/terraform_ci.ymlindex 1e905e6f0e..54ce78984d 100644--- a/.github/workflows/terraform_ci.yml+++ b/.github/workflows/terraform_ci.yml@@ -8,6 +8,10 @@ on:branches: [ master ]paths: ['terraform/**', '.github/workflows/terraform_ci.yml']+concurrency:+ group: ${{ github.workflow }}-${{ github.event.pull_request.number || (github.event_name == 'push' && github.ref) || github.run_id }}+ cancel-in-progress: ${{ github.event_name == 'pull_request' || (github.event_name == 'push' && !startsWith(github.ref, 'refs/tags/')) }}+permissions:contents: readdiff --git a/.github/workflows/test-s3-over-https-using-awscli.yml b/.github/workflows/test-s3-over-https-using-awscli.ymlindex 903c3bf912..fff7b25143 100644--- a/.github/workflows/test-s3-over-https-using-awscli.yml+++ b/.github/workflows/test-s3-over-https-using-awscli.yml@@ -27,6 +27,10 @@ defaults:run:working-directory: weed+concurrency:+ group: ${{ github.workflow }}-${{ github.event.pull_request.number || (github.event_name == 'push' && github.ref) || github.run_id }}+ cancel-in-progress: ${{ github.event_name == 'pull_request' || (github.event_name == 'push' && !startsWith(github.ref, 'refs/tags/')) }}+jobs:awscli-tests:runs-on: ubuntu-latestdiff --git a/.github/workflows/tls-rotation-tests.yml b/.github/workflows/tls-rotation-tests.ymlindex ce4ecc99d2..b0af119c13 100644--- a/.github/workflows/tls-rotation-tests.yml+++ b/.github/workflows/tls-rotation-tests.yml@@ -18,6 +18,10 @@ on:- 'go.sum'- '.github/workflows/tls-rotation-tests.yml'+concurrency:+ group: ${{ github.workflow }}-${{ github.event.pull_request.number || (github.event_name == 'push' && github.ref) || github.run_id }}+ cancel-in-progress: ${{ github.event_name == 'pull_request' || (github.event_name == 'push' && !startsWith(github.ref, 'refs/tags/')) }}+permissions:contents: readdiff --git a/.github/workflows/tus-tests.yml b/.github/workflows/tus-tests.ymlindex 9e7f4e1c1f..eadec31a9e 100644--- a/.github/workflows/tus-tests.yml+++ b/.github/workflows/tus-tests.yml@@ -11,8 +11,8 @@ on:- '.github/workflows/tus-tests.yml'concurrency:- group: ${{ github.head_ref || github.ref }}/tus-tests- cancel-in-progress: true+ group: ${{ github.workflow }}-${{ github.event.pull_request.number || (github.event_name == 'push' && github.ref) || github.run_id }}+ cancel-in-progress: ${{ github.event_name == 'pull_request' || (github.event_name == 'push' && !startsWith(github.ref, 'refs/tags/')) }}permissions:contents: readdiff --git a/.github/workflows/vacuum-integration-tests.yml b/.github/workflows/vacuum-integration-tests.ymlindex e9f2a4ce13..f5b6259a83 100644--- a/.github/workflows/vacuum-integration-tests.yml+++ b/.github/workflows/vacuum-integration-tests.yml@@ -18,6 +18,10 @@ on:- 'go.sum'- '.github/workflows/vacuum-integration-tests.yml'+concurrency:+ group: ${{ github.workflow }}-${{ github.event.pull_request.number || (github.event_name == 'push' && github.ref) || github.run_id }}+ cancel-in-progress: ${{ github.event_name == 'pull_request' || (github.event_name == 'push' && !startsWith(github.ref, 'refs/tags/')) }}+permissions:contents: readdiff --git a/.github/workflows/volume-server-integration-tests.yml b/.github/workflows/volume-server-integration-tests.ymlindex c1874fa198..9bea478215 100644--- a/.github/workflows/volume-server-integration-tests.yml+++ b/.github/workflows/volume-server-integration-tests.yml@@ -21,8 +21,8 @@ on:- '.github/workflows/volume-server-integration-tests.yml'concurrency:- group: ${{ github.head_ref || github.ref }}/volume-server-integration-tests- cancel-in-progress: true+ group: ${{ github.workflow }}-${{ github.event.pull_request.number || (github.event_name == 'push' && github.ref) || github.run_id }}+ cancel-in-progress: ${{ github.event_name == 'pull_request' || (github.event_name == 'push' && !startsWith(github.ref, 'refs/tags/')) }}permissions:contents: read