diff --git a/dist/index.js b/dist/index.js index 0a9fd7c..c14d7f8 100644 --- a/dist/index.js +++ b/dist/index.js @@ -84616,7 +84616,7 @@ module.exports = robot => { robot.log(`logging body: ${body}`); - context.octokit.repos.createStatus( + context.octokit.repos.createCommitStatus( context.repo({ sha: context.payload.pull_request.head.sha, state: status, diff --git a/index.js b/index.js index 6faa263..65ab4c5 100644 --- a/index.js +++ b/index.js @@ -21,7 +21,7 @@ module.exports = robot => { robot.log(`logging body: ${body}`); - context.octokit.repos.createStatus( + context.octokit.repos.createCommitStatus( context.repo({ sha: context.payload.pull_request.head.sha, state: status,