From 09c17a2a60978500a6a8ce6214658c4fe6d0468e Mon Sep 17 00:00:00 2001 From: ritchie Date: Fri, 13 Sep 2024 15:32:41 +0200 Subject: [PATCH] ci: Run benchmark on PR labeled 'performance' --- .github/workflows/benchmark-remote.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/benchmark-remote.yml b/.github/workflows/benchmark-remote.yml index b33498c55bef..08f983405651 100644 --- a/.github/workflows/benchmark-remote.yml +++ b/.github/workflows/benchmark-remote.yml @@ -2,6 +2,8 @@ name: Remote Benchmark on: workflow_dispatch: + pull_request: + types: [ labeled ] concurrency: group: ${{ github.workflow }}-${{ github.ref }} @@ -12,6 +14,7 @@ env: jobs: main: + if: ${{ github.event.label.name == 'performance' }} runs-on: self-hosted steps: - uses: actions/checkout@v4