Skip to content

Commit 2a95ccd

Browse files
committed
Only run benchmarks on merge to main
1 parent 9bb9be7 commit 2a95ccd

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/workflow.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ jobs:
3838

3939
benchmark:
4040
needs: [ build ]
41+
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
4142
runs-on: ubuntu-latest
4243
steps:
4344
- name: Checkout

0 commit comments

Comments
 (0)