Skip to content

Commit 3273149

Browse files
committed
Update benchmarks.yml
1 parent 68a2663 commit 3273149

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

.github/workflows/benchmarks.yml

+2-3
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,11 @@ name: Benchmark
33
on:
44
pull_request:
55
types: [opened, reopened, synchronize, labeled]
6+
workflow_dispatch:
67

78
jobs:
89
benchmark:
9-
if: |
10-
${{ contains( github.event.pull_request.labels.*.name, 'run-benchmark')
11-
&& github.event_name == 'pull_request' }}
10+
if: ${{ contains( github.event.pull_request.labels.*.name, 'run-benchmark') && github.event_name == 'pull_request' || github.event_name == 'workflow_dispatch' }}
1211
name: Linux
1312
runs-on: ubuntu-20.04
1413
env:

0 commit comments

Comments
 (0)