From 1e41c1a6bf36bbaf8c40de0a271905062bdc0c15 Mon Sep 17 00:00:00 2001 From: friendseeker <66892505+Friendseeker@users.noreply.github.com> Date: Thu, 26 Sep 2024 23:39:38 -0700 Subject: [PATCH] Add missing condition --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 43f5dc7c7..b936e63be 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -88,7 +88,7 @@ jobs: run: | sbt -v -Dfile.encoding=UTF-8 "-Dbenchmark.pattern=.*Shapeless.*" "runBenchmarks" - name: Benchmark (AnalysisFormatBenchmark) against Target Branch (6) - if: ${{ matrix.jobtype == 6 }} + if: ${{ github.event_name == 'pull_request' && matrix.jobtype == 6 }} shell: bash run: | sbt -v -Dfile.encoding=UTF-8 "-Dbenchmark.pattern=.*AnalysisFormatBenchmark.*" "runBenchmarks"