diff --git a/.github/workflows/benchmark.yml b/.github/workflows/benchmark.yml index 569d55a..eb78ee7 100644 --- a/.github/workflows/benchmark.yml +++ b/.github/workflows/benchmark.yml @@ -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 }}