From 063f7fdc92898140d65e5fc33ccc10e106f11b38 Mon Sep 17 00:00:00 2001 From: Hidetake Iwata Date: Fri, 17 Jul 2026 19:17:28 +0900 Subject: [PATCH] Refactor --- index.ts | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/index.ts b/index.ts index 3656947..6355e91 100644 --- a/index.ts +++ b/index.ts @@ -1,7 +1,10 @@ +import type * as core from '@actions/core' +import type * as github from '@actions/github' + type GitHubScriptContext = { - core: typeof import('@actions/core') - context: typeof import('@actions/github').context - github: ReturnType + core: typeof core + context: typeof github.context + github: ReturnType } export const main = async ({ core, context, github }: GitHubScriptContext) => {