diff --git a/.github/workflows/benchmark.yml b/.github/workflows/benchmark.yml index 1b0fb2582ec..cc1473cc519 100644 --- a/.github/workflows/benchmark.yml +++ b/.github/workflows/benchmark.yml @@ -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 @@ -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 @@ -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 }}" \