From 50908da061a8a1097818aee76b5816a072e59b41 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Franti=C5=A1ek=20Nesveda?= Date: Mon, 18 May 2026 12:17:55 +0200 Subject: [PATCH] fix: Fix type imports in actions using `github-script` --- execute-workflow/index.mts | 2 +- signed-commit/index.mts | 2 +- wait-for-checks/index.mts | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/execute-workflow/index.mts b/execute-workflow/index.mts index 07c0681..1e67b26 100644 --- a/execute-workflow/index.mts +++ b/execute-workflow/index.mts @@ -1,5 +1,5 @@ import type * as Core from '@actions/core'; -import { type context as Context, type getOctokit } from '@actions/github'; +import type { context as Context, getOctokit } from '@actions/github'; import * as PackageJSON from '../package.json' with { type: 'json' }; diff --git a/signed-commit/index.mts b/signed-commit/index.mts index 65e9f1e..61b90e7 100644 --- a/signed-commit/index.mts +++ b/signed-commit/index.mts @@ -3,7 +3,7 @@ import * as childProcess from 'node:child_process'; import * as fs from 'node:fs/promises'; import type * as Core from '@actions/core'; -import { type getOctokit } from '@actions/github'; +import type { getOctokit } from '@actions/github'; type Octokit = ReturnType; diff --git a/wait-for-checks/index.mts b/wait-for-checks/index.mts index 7ea678e..d245003 100644 --- a/wait-for-checks/index.mts +++ b/wait-for-checks/index.mts @@ -1,5 +1,5 @@ import type * as Core from '@actions/core'; -import { type context as Context, type getOctokit } from '@actions/github'; +import type { context as Context, getOctokit } from '@actions/github'; import * as PackageJSON from '../package.json' with { type: 'json' };