diff --git a/.github/workflows/benchmark.yml b/.github/workflows/benchmark.yml index 97c10a8e..f70d8034 100644 --- a/.github/workflows/benchmark.yml +++ b/.github/workflows/benchmark.yml @@ -21,8 +21,7 @@ jobs: ${{ vars.CODSPEED_ENABLED == 'true' && ( github.ref == 'refs/heads/main' || ( github.event_name == 'pull_request' && - github.event.action == 'labeled' && - github.event.label.name == 'performance' + contains(github.event.pull_request.labels.*.name, 'performance') ) ) }} runs-on: ${{ matrix.use-codspeed && 'codspeed-macro-arm64-graviton-ubuntu-22-04' || 'ubuntu-latest' }}