File tree Expand file tree Collapse file tree 3 files changed +432
-98
lines changed
Expand file tree Collapse file tree 3 files changed +432
-98
lines changed Original file line number Diff line number Diff line change @@ -43,7 +43,7 @@ module.exports = robot => {
4343
4444 const filename = `${ pr . number . toString ( ) . padStart ( 5 , '0' ) } .md` ;
4545
46- const labels = await context . github . issues . getIssueLabels (
46+ const labels = await context . github . issues . listLabelsOnIssue (
4747 context . repo ( { number : pr . number } ) ,
4848 ) ;
4949
@@ -71,7 +71,7 @@ module.exports = robot => {
7171 Promise . all (
7272 packages . map ( async pkg => {
7373 try {
74- const res = await context . github . repos . getContent (
74+ const res = await context . github . repos . getContents (
7575 context . repo ( {
7676 path : join ( pkg , 'docs/migrations' ) ,
7777 ref : pr . head . sha ,
Original file line number Diff line number Diff line change 1313 "fix" : " eslint . --fix"
1414 },
1515 "dependencies" : {
16- "probot" : " 7.5.0 "
16+ "probot" : " ^9.2.10 "
1717 },
1818 "devDependencies" : {
1919 "eslint" : " 5.14.1" ,
You can’t perform that action at this time.
0 commit comments