Skip to content

Commit 27b4e64

Browse files
committed
run benchmarks for pushes to main
1 parent a7f1d95 commit 27b4e64

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/benchmark.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ on:
1010
jobs:
1111
Benchmark:
1212
runs-on: self-hosted
13-
# run if PR has `run benchmark` label
14-
if: contains(github.event.pull_request.labels.*.name, 'run benchmark')
13+
# run if PR has `run benchmark` label or if on main branch
14+
if: contains(github.event.pull_request.labels.*.name, 'run benchmark') || github.ref == 'refs/heads/main'
1515
steps:
1616
- uses: actions/checkout@v4
1717
- uses: julia-actions/setup-julia@latest

0 commit comments

Comments
 (0)