Skip to content

Commit

Permalink
Merge pull request #110 from alankritdabral/test-bencher
Browse files Browse the repository at this point in the history
Update benchmark.yml
  • Loading branch information
alankritdabral authored Apr 9, 2024
2 parents 0fb257b + 22a2967 commit e7d09ee
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 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.labels.*.name, 'ci: benchmark') && github.event_name == 'pull_request_target') || github.event_name == 'push'"
if: "contains(github.event.pull_request.labels.*.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.labels.*.name, 'ci: benchmark') && github.event_name == 'pull_request_target')"
if: "contains(github.event.pull_request.labels.*.name, 'ci: benchmark')"
runs-on: ubuntu-latest
permissions:
pull-requests: write
Expand Down Expand Up @@ -164,7 +164,7 @@ jobs:
- name: Track PR Benchmarks
run: |
bencher run \
bencher run \
--branch "$BRANCH_NAME" \
--token "${{ secrets.BENCHER_API_TOKEN }}" \
--github-actions "${{ secrets.GITHUB_TOKEN }}" \
Expand Down

0 comments on commit e7d09ee

Please sign in to comment.