diff --git a/.github/workflows/ci3.yml b/.github/workflows/ci3.yml index de41ca405e94..6b7b0d28c2b6 100644 --- a/.github/workflows/ci3.yml +++ b/.github/workflows/ci3.yml @@ -111,13 +111,13 @@ jobs: ./ci.sh ec2 - name: Download benchmarks - if: matrix.settings.arch == 'amd64' && github.ref_name == 'master' + if: matrix.settings.arch == 'amd64' && github.event_name == 'push' && github.ref_name == 'master' run: | ./ci3/cache_download barretenberg-bench-results-$(git rev-parse HEAD).tar.gz ./ci3/cache_download yarn-project-bench-results-$(git rev-parse HEAD).tar.gz - name: Store barretenberg benchmark result - if: matrix.settings.arch == 'amd64' && github.ref_name == 'master' + if: matrix.settings.arch == 'amd64' && github.event_name == 'push' && github.ref_name == 'master' continue-on-error: true uses: benchmark-action/github-action-benchmark@4de1bed97a47495fc4c5404952da0499e31f5c29 with: @@ -133,7 +133,7 @@ jobs: max-items-in-chart: 50 - name: Store yarn project benchmark result - if: matrix.settings.arch == 'amd64' && github.ref_name == 'master' + if: matrix.settings.arch == 'amd64' && github.event_name == 'push' && github.ref_name == 'master' continue-on-error: true uses: benchmark-action/github-action-benchmark@4de1bed97a47495fc4c5404952da0499e31f5c29 with: