mirror of
https://github.com/peter-evans/repository-dispatch.git
synced 2026-07-02 00:54:24 +00:00
Fix for github v3
This commit is contained in:
19080
dist/index.js
vendored
19080
dist/index.js
vendored
File diff suppressed because it is too large
Load Diff
@@ -14,7 +14,7 @@ async function run(): Promise<void> {
|
|||||||
|
|
||||||
const [owner, repo] = inputs.repository.split('/')
|
const [owner, repo] = inputs.repository.split('/')
|
||||||
|
|
||||||
const octokit = new github.GitHub(inputs.token)
|
const octokit = github.getOctokit(inputs.token)
|
||||||
|
|
||||||
await octokit.repos.createDispatchEvent({
|
await octokit.repos.createDispatchEvent({
|
||||||
owner: owner,
|
owner: owner,
|
||||||
|
|||||||
Reference in New Issue
Block a user