Philipp Horstenkamp ff32b18cc4
Some checks failed
Auto Maintenance Cycle / pre-commit Autoupdate (push) Failing after 34s
Adding the rest back in.
2023-11-19 03:47:39 +01:00

12 lines
459 B
TypeScript

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>;