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"