Skip to content

Commit 14efcc8

Browse files
committed
auto-cancel benchmark run when superseded
1 parent ac6bcb5 commit 14efcc8

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/benchmark.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,12 @@ on:
2424
# performance analysis in order to generate initial data.
2525
workflow_dispatch:
2626

27+
# This CI workflow can take up to 2 hours.
28+
# This setting will auto-cancel a old run if a new run is started.
29+
concurrency:
30+
group: ${{ github.workflow }}-${{ github.ref }}
31+
cancel-in-progress: true
32+
2733
jobs:
2834
benchmark:
2935
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)