Skip to content

Commit 50bd8e7

Browse files
authored
ci: fix when benchmarks run for Main (#2661)
1 parent b935bd7 commit 50bd8e7

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/build-test.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -412,8 +412,10 @@ jobs:
412412
runs-on: "depot-ubuntu-24.04-8"
413413
timeout-minutes: 30
414414
needs: "paths-filter"
415+
# Benchmarks on Main are ran through a different workflow
415416
if: |
416-
needs.paths-filter.outputs.codechange == 'true'
417+
needs.paths-filter.outputs.codechange == 'true' &&
418+
github.ref_name != 'main'
417419
steps:
418420
- uses: "actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683" # v4.2.2
419421
with:

0 commit comments

Comments
 (0)