mirror of
https://github.com/peter-evans/repository-dispatch.git
synced 2026-06-11 11:21:25 +00:00
Fix for github v3
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user