Files
release-action/node_modules/@actions/github/lib/github.d.ts
Nick Cipollo 95215a3cb6
Some checks failed
Test / check_pr (push) Has been cancelled
Prepate 1.8.5 release
2021-05-12 11:44:59 -04: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>;