Skip to content

Commit

Permalink
Update benchmark.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
alankritdabral authored Apr 9, 2024
1 parent f5aabdf commit 26609aa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/benchmark.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ concurrency:
jobs:
macro_benchmark:
name: Macro Benchmarks
if: "contains(github.event.pull_request_target.labels.*.name, 'ci: benchmark') || github.event_name == 'push'"
if: "contains(github.event.label.name == 'ci: benchmark') || github.event_name == 'push'"
runs-on: ubuntu-latest
permissions:
pull-requests: write
Expand Down Expand Up @@ -111,7 +111,7 @@ jobs:

Criterion_Compare:
name: Comparing Micro Benchmarks
if: "contains(github.event.pull_request_target.labels.*.name, 'ci: benchmark')"
if: "contains(github.event.label.name == 'ci: benchmark')"
runs-on: ubuntu-latest
permissions:
pull-requests: write
Expand Down

0 comments on commit 26609aa

Please sign in to comment.