From cdaa46f22b04cd5c57808bbbd5aac87a028ce840 Mon Sep 17 00:00:00 2001 From: gentlementlegen Date: Thu, 3 Oct 2024 20:22:27 +0900 Subject: [PATCH] chore: renamed return --- src/action.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/action.ts b/src/action.ts index 29d7cd9..1387871 100644 --- a/src/action.ts +++ b/src/action.ts @@ -26,7 +26,7 @@ export async function run() { return returnDataToKernel(process.env.GITHUB_TOKEN, inputs.stateId, {}); } -export async function returnDataToKernel(repoToken: string, stateId: string, output: object, eventType = "return_data_to_ubiquibot_kernel") { +export async function returnDataToKernel(repoToken: string, stateId: string, output: object, eventType = "return-data-to-ubiquity-os-kernel") { const octokit = new Octokit({ auth: repoToken }); return octokit.repos.createDispatchEvent({ owner: github.context.repo.owner,