Skip to content

Commit 153afe9

Browse files
Run perf tests if a PR has the 'perf' label (#1640)
1 parent 11a8e18 commit 153afe9

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

.github/workflows/perf.yml

+2-4
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,8 @@ on:
44
workflow_dispatch:
55
# Don't run on every merge to main, because many merges
66
# may not even be vm related, but infra, or GH Actions
7-
# push:
8-
# branches:
9-
# - main
107
pull_request:
11-
branches: [main]
8+
types: [ labeled ]
129

1310
concurrency:
1411
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
@@ -23,6 +20,7 @@ env:
2320

2421
jobs:
2522
master-krausest-comparison:
23+
if: ${{ github.event.label.name == 'perf' }}
2624
name: Glimmer Krausest Benchmark
2725
runs-on: ubuntu-latest
2826
timeout-minutes: 70

0 commit comments

Comments
 (0)