fix: use typeof getOctokit instead of deep @octokit/core import, rebuild dist/

This commit is contained in:
Salman Chishti
2026-03-01 01:30:49 +00:00
parent 00afa0fed2
commit a7dc0e4fc1
2 changed files with 4 additions and 6 deletions

View File

@@ -1,6 +1,7 @@
/// <reference types="node" />
import * as core from '@actions/core';
import * as exec from '@actions/exec';
import { getOctokit } from '@actions/github';
import { Context } from '@actions/github/lib/context';
import { GitHub } from '@actions/github/lib/utils';
import * as glob from '@actions/glob';
@@ -10,6 +11,7 @@ export declare type AsyncFunctionArguments = {
core: typeof core;
github: InstanceType<typeof GitHub>;
octokit: InstanceType<typeof GitHub>;
getOctokit: typeof getOctokit;
exec: typeof exec;
glob: typeof glob;
io: typeof io;