Skip to content

Commit 8562018

Browse files
authored
Cancel benchmarks on push (rust-lang#502)
* Update benchmark.yml
1 parent 7b6b682 commit 8562018

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/benchmark.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ on:
77
pull_request:
88
branches:
99
- main
10+
11+
concurrency:
12+
group: ${{ github.workflow }}-${{ github.ref }}
13+
cancel-in-progress: true
1014

1115
jobs:
1216
build:

0 commit comments

Comments
 (0)