Skip to content

Commit

Permalink
fix: don't try to get bench artifacts on external PR (#12157)
Browse files Browse the repository at this point in the history
  • Loading branch information
ludamad authored Feb 20, 2025
1 parent 4ee6884 commit 2b91bb2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci3.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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:
Expand Down

0 comments on commit 2b91bb2

Please sign in to comment.