From fa052a735dd14389f54016ac3c89dac3089da625 Mon Sep 17 00:00:00 2001 From: Rob Porter Date: Mon, 22 Mar 2021 16:06:54 -0400 Subject: [PATCH] Adjust github -> 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 aadbb58..d0b6a26 100644 --- a/dist/index.js +++ b/dist/index.js @@ -84614,7 +84614,7 @@ module.exports = robot => { robot.log(`isUnchecked: ${isUnChecked}`); - context.github.repos.createStatus( + context.octokit.repos.createStatus( context.repo({ sha: context.payload.pull_request.head.sha, state: status, diff --git a/index.js b/index.js index 9e8aea1..632e716 100644 --- a/index.js +++ b/index.js @@ -19,7 +19,7 @@ module.exports = robot => { robot.log(`isUnchecked: ${isUnChecked}`); - context.github.repos.createStatus( + context.octokit.repos.createStatus( context.repo({ sha: context.payload.pull_request.head.sha, state: status,