-
Notifications
You must be signed in to change notification settings - Fork 0
38 lines (34 loc) · 955 Bytes
/
Copy pathbenchmark-trigger.yml
File metadata and controls
38 lines (34 loc) · 955 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
name: Benchmark
on:
push:
branches: [main]
pull_request:
branches: [main]
types: [opened, synchronize, reopened, labeled, unlabeled, edited, ready_for_review]
permissions:
contents: read
pull-requests: read
issues: read
jobs:
workload:
concurrency:
group: benchmark-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
uses: ./.github/workflows/benchmark.yml
benchmark-status:
name: Benchmark Status
if: ${{ always() && github.event_name == 'pull_request' }}
needs: workload
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- uses: actions/checkout@v7
with:
persist-credentials: false
- uses: actions/setup-node@v7
with:
node-version: '24'
- name: Require the benchmark workload to succeed
env:
BENCHMARK_JOB_RESULTS: ${{ toJSON(needs) }}
run: node scripts/check-ci-status.ts