Include event_name in CI concurrency group keys
This allows simplifying the rest of the key to just github.ref, replacing the previous chain of fallbacks.
This commit is contained in:
parent
4f0bb03680
commit
980d5dcd1e
2 changed files with 2 additions and 10 deletions
6
.github/workflows/docker.yml
vendored
6
.github/workflows/docker.yml
vendored
|
|
@ -18,11 +18,7 @@ on:
|
|||
default: true
|
||||
|
||||
concurrency:
|
||||
group: >-
|
||||
${{ github.workflow }}-
|
||||
${{ github.event.pull_request.number ||
|
||||
(github.event_name == 'merge_group' && format('mq-{0}', github.event.merge_group.head_ref)) ||
|
||||
github.ref }}
|
||||
group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.ref }}
|
||||
cancel-in-progress: true
|
||||
|
||||
jobs:
|
||||
|
|
|
|||
6
.github/workflows/oxipng.yml
vendored
6
.github/workflows/oxipng.yml
vendored
|
|
@ -9,11 +9,7 @@ on:
|
|||
workflow_dispatch:
|
||||
|
||||
concurrency:
|
||||
group: >-
|
||||
${{ github.workflow }}-
|
||||
${{ github.event.pull_request.number ||
|
||||
(github.event_name == 'merge_group' && format('mq-{0}', github.event.merge_group.head_ref)) ||
|
||||
github.ref }}
|
||||
group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.ref }}
|
||||
cancel-in-progress: true
|
||||
|
||||
jobs:
|
||||
|
|
|
|||
Loading…
Reference in a new issue