Skip to content

Commit

Permalink
use github.event.label for checking bench workflow trigger (#77)
Browse files Browse the repository at this point in the history
Signed-off-by: Thing-han, Lim <[email protected]>
  • Loading branch information
potsrevennil authored Jun 26, 2024
1 parent e7b2ca8 commit 6c0791e
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 @@ -10,7 +10,7 @@ on:
jobs:
bench:
runs-on: self-hosted-rpi4
if: github.repository_owner == 'pq-code-package' && (contains(github.event.pull_request.labels.*.name, 'benchmark') || github.ref == 'refs/heads/main')
if: github.repository_owner == 'pq-code-package' && (github.event.label.name == 'benchmark' || github.ref == 'refs/heads/main')
steps:
- uses: actions/checkout@v4
- name: Setup nix
Expand Down

0 comments on commit 6c0791e

Please sign in to comment.