Fix usage of github action

This commit is contained in:
Sergey Vilgelm 2020-08-01 22:57:45 -05:00
parent 982c39ed2c
commit b3eed24c4a
No known key found for this signature in database
GPG key ID: 08D0E2FF778887E6
3 changed files with 10557 additions and 49193 deletions

29874
dist/post_run/index.js vendored

File diff suppressed because it is too large Load diff

29874
dist/run/index.js vendored

File diff suppressed because it is too large Load diff

View file

@ -39,7 +39,7 @@ async function fetchPatch(): Promise<string> {
return ``
}
const octokit = new github.GitHub(core.getInput(`github-token`, { required: true }))
const octokit = github.getOctokit(core.getInput(`github-token`, { required: true }))
let patch: string
try {
const patchResp = await octokit.pulls.get({