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