Fix for github v3

This commit is contained in:
Peter Evans 2020-06-06 12:12:17 +09:00
parent 86c9b97327
commit 60a6cb0a1e
2 changed files with 1653 additions and 17376 deletions

18791
dist/index.js vendored

File diff suppressed because it is too large Load Diff

View File

@ -91,7 +91,7 @@ async function run() {
return; return;
} }
const octokit = new github.GitHub(inputs.token); const octokit = github.getOctokit(inputs.token);
if (inputs.commentId) { if (inputs.commentId) {
// Edit a comment // Edit a comment