Skip to content

Commit 7c29092

Browse files
committed
ci: update benchmark.yml
1 parent 2e6c068 commit 7c29092

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

.github/workflows/benchmark.yml

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -8,19 +8,13 @@ on:
88
types:
99
- opened
1010
- synchronize
11-
paths:
12-
- "src/*.rs"
13-
- "Cargo.lock"
1411
push:
1512
branches:
1613
- main
17-
paths:
18-
- "src/*.rs"
19-
- "Cargo.lock"
2014

2115
concurrency:
22-
group: ${{ github.workflow }}-${{ github.ref }}
23-
cancel-in-progress: true
16+
group: ${{ github.workflow }}-${{ github.ref_name }}-${{ github.event.pull_request.number || github.sha }}
17+
cancel-in-progress: ${{ github.ref_name != 'main' }}
2418

2519
jobs:
2620
benchmark:

0 commit comments

Comments
 (0)