diff --git a/.github/workflows/benchmark.yml b/.github/workflows/benchmark.yml index b4eae0f286..4a22d99517 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_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 @@ -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