Skip to content

Commit

Permalink
Only run benchmarks on merge to main
Browse files Browse the repository at this point in the history
  • Loading branch information
si618 committed Oct 13, 2024
1 parent 9bb9be7 commit 2a95ccd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ jobs:

benchmark:
needs: [ build ]
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
runs-on: ubuntu-latest
steps:
- name: Checkout
Expand Down

0 comments on commit 2a95ccd

Please sign in to comment.