Skip to content

Commit c6b7185

Browse files
committed
debug: check base and merge commit results (5)
1 parent fc19f9b commit c6b7185

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.github/workflows/benchmark-pr.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,10 @@ on:
1313
required: false
1414
type: string
1515
default: '10'
16+
commit-hash:
17+
description: 'The commit hash to benchmark'
18+
required: true
19+
type: string
1620
secrets:
1721
PR_COMMENT_TOKEN:
1822
required: true
@@ -28,7 +32,7 @@ jobs:
2832
OWNER: ${{ github.repository_owner }}
2933
REPOSITORY: ${{ github.event.repository.name }}
3034
PR_NUMBER: ${{ github.event.pull_request.number }}
31-
GITHUB_SHA: ${{ github.sha }}
35+
GITHUB_SHA: ${{ inputs.commit-hash }}
3236

3337
steps:
3438
- name: Checkout and setup environment

.github/workflows/main.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -249,6 +249,7 @@ jobs:
249249
with:
250250
browser-loads: '10'
251251
page-loads: '10'
252+
commit-hash: ${{ github.sha }}
252253
secrets:
253254
PR_COMMENT_TOKEN: ${{ secrets.PR_COMMENT_TOKEN }}
254255
EXTENSION_BENCHMARK_STATS_TOKEN: ${{ secrets.EXTENSION_BENCHMARK_STATS_TOKEN }}

0 commit comments

Comments
 (0)