From affb5004852a013c9d71d6e64ec5f27b668d9877 Mon Sep 17 00:00:00 2001 From: Chris Lu Date: Fri, 23 Oct 2026 03:56:23 -0700 Subject: [PATCH] ci: serialize manual publish runs by destination tag in remaining container workflows --- .github/workflows/container_foundationdb_version.yml | 2 +- .github/workflows/container_release_foundationdb.yml | 2 +- .github/workflows/container_rocksdb_version.yml | 4 ++++ 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/container_foundationdb_version.yml b/.github/workflows/container_foundationdb_version.yml index b3dad007e0..9a56060347 100644 --- a/.github/workflows/container_foundationdb_version.yml +++ b/.github/workflows/container_foundationdb_version.yml @@ -25,7 +25,7 @@ on: default: '' concurrency: - group: ${{ github.workflow }}-${{ github.event.pull_request.number || (github.event_name == 'push' && github.ref) || github.run_id }} + group: ${{ github.workflow }}-${{ github.event.pull_request.number || (github.event_name == 'push' && github.ref) || (github.event_name == 'workflow_dispatch' && (github.event.inputs.image_tag || format('{0}-{1}', github.event.inputs.fdb_version, github.event.inputs.seaweedfs_ref))) || github.run_id }} cancel-in-progress: ${{ github.event_name == 'pull_request' || (github.event_name == 'push' && !startsWith(github.ref, 'refs/tags/')) }} permissions: diff --git a/.github/workflows/container_release_foundationdb.yml b/.github/workflows/container_release_foundationdb.yml index 4074d96369..1bb4c5b641 100644 --- a/.github/workflows/container_release_foundationdb.yml +++ b/.github/workflows/container_release_foundationdb.yml @@ -12,7 +12,7 @@ on: default: '' concurrency: - group: ${{ github.workflow }}-${{ github.event.pull_request.number || (github.event_name == 'push' && github.ref) || github.run_id }} + group: ${{ github.workflow }}-${{ github.event.pull_request.number || (github.event_name == 'push' && github.ref) || github.event.inputs.release_tag || github.run_id }} cancel-in-progress: ${{ github.event_name == 'pull_request' || (github.event_name == 'push' && !startsWith(github.ref, 'refs/tags/')) }} permissions: diff --git a/.github/workflows/container_rocksdb_version.yml b/.github/workflows/container_rocksdb_version.yml index 89b4e82049..04f677da0a 100644 --- a/.github/workflows/container_rocksdb_version.yml +++ b/.github/workflows/container_rocksdb_version.yml @@ -16,6 +16,10 @@ on: required: false default: '' +concurrency: + group: ${{ github.workflow }}-${{ github.event.inputs.image_tag || format('{0}-{1}', github.event.inputs.rocksdb_version, github.event.inputs.seaweedfs_ref) }} + cancel-in-progress: false + permissions: contents: read