From 29b88cf14ae292bbc0a2035f526567be601f294d Mon Sep 17 00:00:00 2001 From: Rob Porter Date: Mon, 22 Mar 2021 16:30:00 -0400 Subject: [PATCH] Update based on API changes with Octokit --- dist/index.js | 2 +- index.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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,