Skip to content

Commit 03fc0e7

Browse files
committed
limit benchmark CI triggers
only run benchmark on changes that effect performance
1 parent a4651d9 commit 03fc0e7

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

.github/workflows/benchmark.yml

+14
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,23 @@ name: Benchmark
33
on:
44
push:
55
branches: [main]
6+
paths:
7+
- cpp-linter/src/
8+
- cpp-linter/benches/
9+
- cpp-linter/Cargo.toml
10+
- Cargo.toml
11+
- Cargo.lock
12+
- .github/workflows/benchmark.yml
613
tags-ignore: ['*']
714
pull_request:
815
branches: [main]
16+
paths:
17+
- cpp-linter/src/
18+
- cpp-linter/benches/
19+
- cpp-linter/Cargo.toml
20+
- Cargo.toml
21+
- Cargo.lock
22+
- .github/workflows/benchmark.yml
923
# `workflow_dispatch` allows CodSpeed to trigger back-test
1024
# performance analysis in order to generate initial data.
1125
workflow_dispatch:

0 commit comments

Comments
 (0)