From abe2e38cb67125ce581b125121f561a3c2da414b Mon Sep 17 00:00:00 2001 From: meskill <8974488+meskill@users.noreply.github.com> Date: Thu, 5 Sep 2024 12:43:56 +0000 Subject: [PATCH] ci: run benchmark only for label --- .github/workflows/benchmark-pull-request.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/benchmark-pull-request.yaml b/.github/workflows/benchmark-pull-request.yaml index f7d63ce..37a9a6c 100644 --- a/.github/workflows/benchmark-pull-request.yaml +++ b/.github/workflows/benchmark-pull-request.yaml @@ -13,8 +13,8 @@ concurrency: jobs: benchmarks: name: Run benchmarks for pr - # runs-on: benchmarking-runner - runs-on: ubuntu-latest + if: "${{ contains(github.event.pull_request.labels.*.name, 'ci: benchmark') }}" + runs-on: benchmarking-runner steps: - uses: actions/checkout@v4