diff --git a/.github/actions/repo-dispatch/index.js b/.github/actions/repo-dispatch/index.js index f80c3eedc..58e31d033 100644 --- a/.github/actions/repo-dispatch/index.js +++ b/.github/actions/repo-dispatch/index.js @@ -25,8 +25,8 @@ async function run() {//change function name console.log("THIS IS THE CLIENT, rest, repos " + JSON.stringify(client.rest.repos)) // Send a repository dispatch event to the specified repository await client.rest.repos.createDispatchEvent({ - owner, // Repository owner - repo, // Repository name + owner, + repo, event_type: eventType, // Custom event type to trigger the workflow // Additional data to send with the event (optional) client_payload: JSON.parse(clientPayload || {}),