Skip to content

Commit

Permalink
fix(CI): update benchmark workflow to only run in case Verify Build c…
Browse files Browse the repository at this point in the history
…ompletes

Signed-off-by: Tarek <[email protected]>
  • Loading branch information
tareknaser committed Dec 19, 2024
1 parent 9e83f32 commit 1caf5c5
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/benchmark.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,11 @@ jobs:
name: Run Benchmarks
runs-on: ubuntu-latest

# Only run this job if the workflow run was triggered by a pull request
if: ${{ github.event.pull_request != null }}

steps:
- uses: actions/checkout@v4

- name: Run Criterion
uses: boa-dev/criterion-compare-action@v3
with:
branchName: ${{ github.event.pull_request.base.ref }}
branchName: ${{ github.base_ref }}
token: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 1caf5c5

Please sign in to comment.