Fix for github v3

This commit is contained in:
Peter Evans
2020-06-04 15:25:58 +09:00
parent 7aa158e97c
commit eb329a2e6a
2 changed files with 1682 additions and 17400 deletions

View File

@@ -14,7 +14,7 @@ async function run(): Promise<void> {
const [owner, repo] = inputs.repository.split('/')
const octokit = new github.GitHub(inputs.token)
const octokit = github.getOctokit(inputs.token)
await octokit.repos.createDispatchEvent({
owner: owner,