Unverified Commit 8bd41593 authored by Donny/강동윤's avatar Donny/강동윤 Committed by GitHub

chore(turbopack): Use label for large benchmark (#80114)

### What?

Use the `benchmark` label along with the workflow dispatch.

### Why?

It's more convenient.


### How?

Closes PACK-4759
parent 4a16e434
......@@ -10,7 +10,7 @@ on:
- '**/Cargo.toml'
- '**/Cargo.lock'
pull_request:
types: ['opened', 'reopened', 'synchronize']
types: ['opened', 'reopened', 'synchronize', 'labeled']
paths:
- '**/crates/**'
- '**/Cargo.toml'
......@@ -92,8 +92,7 @@ jobs:
benchmark-large:
name: Benchmark Rust Crates (large)
# If the task is triggered manually, we want to run the large benchmarks
if: ${{ github.event_name == 'workflow_dispatch' }}
if: ${{ github.event.label.name == 'benchmark' || github.event_name == 'workflow_dispatch' }}
runs-on: ['self-hosted', 'linux', 'x64', 'metal']
steps:
- uses: actions/checkout@v4
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment