[testing workflows] Update concurrency group for CI workflow (#50407)
This commit is contained in:
parent
91a1b92e9a
commit
e9146f5ba4
|
@ -16,8 +16,9 @@ on:
|
|||
type: string
|
||||
|
||||
concurrency:
|
||||
group: '${{ github.workflow }}-${{ github.ref }}-${{ inputs.trigger }}'
|
||||
cancel-in-progress: ${{ github.ref != 'trunk' }}
|
||||
# Cancel concurrent jobs but not for push event. For push use the run_id to have a unique group.
|
||||
group: ci-${{ github.event_name == 'push' && github.run_id || github.event_name }}-${{ github.ref }}-${{ inputs.trigger }}
|
||||
cancel-in-progress: true
|
||||
|
||||
env:
|
||||
FORCE_COLOR: 1
|
||||
|
|
Loading…
Reference in New Issue