Skip to content

Commit a2ff425

Browse files
authored
ci(benchmark): only run for source-affecting changes (#127)
1 parent 7fb1097 commit a2ff425

1 file changed

Lines changed: 26 additions & 0 deletions

File tree

‎.github/workflows/benchmark.yml‎

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,34 @@ name: Benchmark
33
on:
44
push:
55
branches: [main]
6+
# Benchmark inputs: C source, TS source, benchmarks, and build config.
7+
# Docs-only and CI-only changes skip the workflow entirely.
8+
paths:
9+
- "src/**"
10+
- "clay" # submodule pointer
11+
- "patches/**"
12+
- "Makefile"
13+
- "*.ts"
14+
- "bench/**"
15+
- "tasks/**"
16+
- "deno.json"
17+
- "deno.lock"
18+
- "package.json"
19+
- "package-lock.json"
620
pull_request:
721
branches: [main]
22+
paths:
23+
- "src/**"
24+
- "clay" # submodule pointer
25+
- "patches/**"
26+
- "Makefile"
27+
- "*.ts"
28+
- "bench/**"
29+
- "tasks/**"
30+
- "deno.json"
31+
- "deno.lock"
32+
- "package.json"
33+
- "package-lock.json"
834
# `workflow_dispatch` allows CodSpeed to trigger
935
workflow_dispatch:
1036

0 commit comments

Comments
 (0)