From 26609aaae2534a6607dfb3e569b0a603a1be69de Mon Sep 17 00:00:00 2001 From: alankritdabral <95607957+alankritdabral@users.noreply.github.com> Date: Tue, 9 Apr 2024 14:35:53 +0530 Subject: [PATCH] Update benchmark.yml --- .github/workflows/benchmark.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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