Skip to content

Commit

Permalink
run benchmark if there is benchmark label or on main branch
Browse files Browse the repository at this point in the history
Signed-off-by: Thing-han, Lim <[email protected]>
  • Loading branch information
potsrevennil committed Jun 19, 2024
1 parent 18e9ef7 commit 4762b78
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/bench.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:
jobs:
bench:
runs-on: self-hosted-rpi4
if: github.repository_owner == 'pq-code-package'
if: github.repository_owner == 'pq-code-package' && (github.event.pull_request.labels == "benchmark" || github.ref == "refs/heads/main")
steps:
- uses: actions/checkout@v4
- name: Setup nix
Expand Down

0 comments on commit 4762b78

Please sign in to comment.