workflow: Add group-suffix where needed

When reusable workflows are called, the workflow seems to be
transferred from the caller, so we need to differentiate by adding
a suffix unique to these workflows

Signed-off-by: stevenhorsman <steven@uk.ibm.com>
This commit is contained in:
stevenhorsman
2026-03-06 15:00:15 +00:00
parent c5fd998eaf
commit eea92c167c
15 changed files with 21 additions and 20 deletions

View File

@@ -16,7 +16,7 @@ on:
permissions: {}
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}-amd64
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}-basic-amd64
cancel-in-progress: true
jobs:

View File

@@ -29,7 +29,7 @@ on:
permissions: {}
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}-amd64
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}-tarball-amd64
cancel-in-progress: true
jobs:

View File

@@ -30,7 +30,7 @@ on:
permissions: {}
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}-s390x
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}-tarball-s390x
cancel-in-progress: true
jobs:

View File

@@ -16,7 +16,7 @@ on:
permissions: {}
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}-kubectl-image
cancel-in-progress: true
env:

View File

@@ -8,7 +8,7 @@ on:
- synchronize
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}-cargo-deny
cancel-in-progress: true
permissions: {}

View File

@@ -6,7 +6,7 @@ on:
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}-coco-stability
cancel-in-progress: true
permissions: {}

View File

@@ -7,7 +7,7 @@ name: Nightly CI for s390x
permissions: {}
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}-nightly-s390x
cancel-in-progress: true
jobs:

View File

@@ -4,7 +4,7 @@ on:
- cron: '0 0 * * *'
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}-nightly
cancel-in-progress: true
permissions: {}

View File

@@ -16,7 +16,7 @@ on:
permissions: {}
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}-on-push
cancel-in-progress: true
jobs:

View File

@@ -33,7 +33,7 @@ on:
permissions: {}
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}-weekly
cancel-in-progress: true
jobs:

View File

@@ -47,7 +47,7 @@ on:
permissions: {}
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}-ci
cancel-in-progress: true
jobs:

View File

@@ -32,7 +32,7 @@ on:
value: ${{ jobs.skipper.outputs.skip_static }}
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}-gatekeeper-skipper
cancel-in-progress: true
permissions: {}

View File

@@ -35,7 +35,7 @@ on:
required: true
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}-${{ inputs.arch }}
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}-${{ inputs.arch }}-publish-deploy
cancel-in-progress: true
permissions: {}

View File

@@ -1,11 +1,5 @@
name: CI | Run cri-containerd tests
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
permissions: {}
on:
workflow_call:
inputs:
@@ -36,6 +30,13 @@ on:
required: true
type: string
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}-cri-tests
cancel-in-progress: true
permissions: {}
jobs:
run-cri-containerd:
name: run-cri-containerd-${{ inputs.arch }} (${{ inputs.containerd_version }}, ${{ inputs.vmm }})

View File

@@ -23,7 +23,7 @@ on:
default: ""
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}-metrics
cancel-in-progress: true
permissions: {}