File tree Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change 13
13
required : false
14
14
type : string
15
15
default : ' 10'
16
+ commit-hash :
17
+ description : ' The commit hash to benchmark'
18
+ required : true
19
+ type : string
16
20
secrets :
17
21
PR_COMMENT_TOKEN :
18
22
required : true
28
32
OWNER : ${{ github.repository_owner }}
29
33
REPOSITORY : ${{ github.event.repository.name }}
30
34
PR_NUMBER : ${{ github.event.pull_request.number }}
31
- GITHUB_SHA : ${{ github.sha }}
35
+ GITHUB_SHA : ${{ inputs.commit-hash }}
32
36
33
37
steps :
34
38
- name : Checkout and setup environment
Original file line number Diff line number Diff line change @@ -249,6 +249,7 @@ jobs:
249
249
with :
250
250
browser-loads : ' 10'
251
251
page-loads : ' 10'
252
+ commit-hash : ${{ github.sha }}
252
253
secrets :
253
254
PR_COMMENT_TOKEN : ${{ secrets.PR_COMMENT_TOKEN }}
254
255
EXTENSION_BENCHMARK_STATS_TOKEN : ${{ secrets.EXTENSION_BENCHMARK_STATS_TOKEN }}
You can’t perform that action at this time.
0 commit comments