File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11import * as core from '@actions/core'
22import * as exec from '@actions/exec'
3+ import { getOctokit } from '@actions/github'
34import { Context } from '@actions/github/lib/context'
45import { GitHub } from '@actions/github/lib/utils'
56import * as glob from '@actions/glob'
67import * as io from '@actions/io'
7- import type { OctokitOptions , OctokitPlugin } from '@octokit/core/types'
88
99const AsyncFunction = Object . getPrototypeOf ( async ( ) => null ) . constructor
1010
@@ -13,11 +13,7 @@ export declare type AsyncFunctionArguments = {
1313 core : typeof core
1414 github : InstanceType < typeof GitHub >
1515 octokit : InstanceType < typeof GitHub >
16- getOctokit : (
17- token : string ,
18- options ?: OctokitOptions ,
19- ...additionalPlugins : OctokitPlugin [ ]
20- ) => InstanceType < typeof GitHub >
16+ getOctokit : typeof getOctokit
2117 exec : typeof exec
2218 glob : typeof glob
2319 io : typeof io
Original file line number Diff line number Diff line change 11/// <reference types="node" />
22import * as core from '@actions/core' ;
33import * as exec from '@actions/exec' ;
4+ import { getOctokit } from '@actions/github' ;
45import { Context } from '@actions/github/lib/context' ;
56import { GitHub } from '@actions/github/lib/utils' ;
67import * as glob from '@actions/glob' ;
@@ -10,6 +11,7 @@ export declare type AsyncFunctionArguments = {
1011 core : typeof core ;
1112 github : InstanceType < typeof GitHub > ;
1213 octokit : InstanceType < typeof GitHub > ;
14+ getOctokit : typeof getOctokit ;
1315 exec : typeof exec ;
1416 glob : typeof glob ;
1517 io : typeof io ;
You can’t perform that action at this time.
0 commit comments