Skip to content

Commit 20b7da4

Browse files
authored
ci: fix when benchmarks run (#2759)
1 parent 0aadc22 commit 20b7da4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/build-test.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -423,7 +423,8 @@ jobs:
423423
# Benchmarks on Main are ran through a different workflow
424424
if: |
425425
needs.paths-filter.outputs.codechange == 'true' &&
426-
github.base_ref != 'main'
426+
github.event_name == 'pull_request' &&
427+
github.base_ref == 'main'
427428
steps:
428429
- uses: "actions/checkout@ff7abcd0c3c05ccf6adc123a8cd1fd4fb30fb493" # v4.2.2
429430
with:

0 commit comments

Comments
 (0)