Skip to content

Commit 0a20c5c

Browse files
committed
fix(ci): stop serializing push workflow runs
1 parent 1efda3d commit 0a20c5c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77
types: [opened, reopened, synchronize, ready_for_review, converted_to_draft]
88

99
concurrency:
10-
group: ci-${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
10+
group: ${{ github.event_name == 'pull_request' && format('ci-pr-{0}', github.event.pull_request.number) || format('ci-push-{0}', github.run_id) }}
1111
cancel-in-progress: ${{ github.event_name == 'pull_request' }}
1212

1313
env:

.github/workflows/install-smoke.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ on:
88
workflow_dispatch:
99

1010
concurrency:
11-
group: install-smoke-${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
11+
group: ${{ github.event_name == 'pull_request' && format('install-smoke-pr-{0}', github.event.pull_request.number) || format('install-smoke-push-{0}', github.run_id) }}
1212
cancel-in-progress: ${{ github.event_name == 'pull_request' }}
1313

1414
env:

0 commit comments

Comments
 (0)