You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
11 lines
459 B
11 lines
459 B
import * as Context from './context'; |
|
import { GitHub } from './utils'; |
|
import { OctokitOptions } from '@octokit/core/dist-types/types'; |
|
export declare const context: Context.Context; |
|
/** |
|
* Returns a hydrated octokit ready to use for GitHub Actions |
|
* |
|
* @param token the repo PAT or GITHUB_TOKEN |
|
* @param options other options to set |
|
*/ |
|
export declare function getOctokit(token: string, options?: OctokitOptions): InstanceType<typeof GitHub>;
|
|
|