File tree Expand file tree Collapse file tree 2 files changed +16
-15
lines changed
Expand file tree Collapse file tree 2 files changed +16
-15
lines changed Original file line number Diff line number Diff line change 1- name : ' WebPageTest GitHub Action'
2- author : ' WebPageTest'
3- description : ' Automatically test code changes in WebPageTest and enforce performance budgets'
1+ name : " WebPageTest GitHub Action"
2+ author : " WebPageTest"
3+ description : " Automatically test code changes in WebPageTest and enforce performance budgets"
44inputs :
55 apiKey :
6- description : ' WebPageTest API Token'
6+ description : " WebPageTest API Token"
77 required : true
88 urls :
9- description : ' List of URL(s) to test'
9+ description : " List of URL(s) to test"
1010 required : true
1111 budget :
12- description : ' Path to WebPageTest testspecs.json file'
12+ description : " Path to WebPageTest testspecs.json file"
1313 required : false
1414 label :
15- description : ' Label for test (shows up in WebPageTest)'
15+ description : " Label for test (shows up in WebPageTest)"
1616 required : false
1717 wptOptions :
18- description : ' Path to JSON file with WebPageTest test options (see https://github.com/marcelduran/webpagetest-api#test-works-for-runtest-method-only)'
18+ description : " Path to JSON file with WebPageTest test options (see https://github.com/marcelduran/webpagetest-api#test-works-for-runtest-method-only)"
1919 required : false
2020 GITHUB_TOKEN :
21- description : ' Secret GitHub Token (automatically provided by GitHub)'
22- default : ${{ github.token }}
21+ description : " Secret GitHub Token (automatically provided by GitHub)"
22+ required : true
2323runs :
24- using : ' node12'
25- main : ' index.js'
24+ using : " node12"
25+ main : " index.js"
2626branding :
27- icon : ' bar-chart-2'
28- color : ' blue'
27+ icon : " bar-chart-2"
28+ color : " blue"
Original file line number Diff line number Diff line change @@ -74,7 +74,8 @@ async function renderComment(data) {
7474
7575 //submit a comment
7676 await octokit . rest . issues . createComment ( {
77- ...context . repo ,
77+ owner : context . repo . owner ,
78+ repo : context . repo . repo ,
7879 issue_number : prNumber ,
7980 body : markdown ,
8081 } ) ;
You can’t perform that action at this time.
0 commit comments