Skip to content

Commit 3e73e9b

Browse files
EwoutHrht
authored andcommitted
Only run benchmark bot on actual code changes
Only run if either an Python file has changed or if the benchmark workflow itself is changed. It can be more fine-grained, but this should catch most docs-only cases.
1 parent c0c8479 commit 3e73e9b

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/benchmarks.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,14 @@ on:
55
types: [opened, ready_for_review]
66
branches:
77
- main
8+
paths:
9+
- '**.py'
10+
- '.github/workflows/benchmarks.yml'
811
issue_comment:
912
types: [created]
13+
paths:
14+
- '**.py'
15+
- '.github/workflows/benchmarks.yml'
1016

1117
permissions:
1218
issues: write

0 commit comments

Comments
 (0)