From 6e59e07fbee87f8dc62f64f6f1bf788d8428094e Mon Sep 17 00:00:00 2001 From: NullVoxPopuli <199018+NullVoxPopuli@users.noreply.github.com> Date: Mon, 28 Oct 2024 20:40:23 -0400 Subject: [PATCH] Run perf tests if a PR has the 'perf' label --- .github/workflows/perf.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/perf.yml b/.github/workflows/perf.yml index 9677dcd31..4ad22fd9c 100644 --- a/.github/workflows/perf.yml +++ b/.github/workflows/perf.yml @@ -4,11 +4,8 @@ on: workflow_dispatch: # Don't run on every merge to main, because many merges # may not even be vm related, but infra, or GH Actions - # push: - # branches: - # - main pull_request: - branches: [main] + types: [ labeled ] concurrency: group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} @@ -23,6 +20,7 @@ env: jobs: master-krausest-comparison: + if: ${{ github.event.label.name == 'perf' }} name: Glimmer Krausest Benchmark runs-on: ubuntu-latest timeout-minutes: 70