diff --git a/.github/workflows/bench.yml b/.github/workflows/bench.yml index 7756d1155ff62..a4a9a633d2f68 100644 --- a/.github/workflows/bench.yml +++ b/.github/workflows/bench.yml @@ -5,7 +5,7 @@ on: branches: - main pull_request: - types: ['opened', 'reopened', 'synchronize'] + types: ['labeled'] concurrency: group: ${{ github.workflow }}-${{ github.sha }} @@ -27,6 +27,7 @@ jobs: - 'linux' - 'x64' - 'metal' + if: ${{ github.event.label.name == 'benchmark' }} outputs: crates: ${{ steps.list-crates.outputs.crates }} steps: