Files
release-action/node_modules/@actions/github/lib/context.d.ts
Nick Cipollo 10c84d509b
Some checks failed
Test / check_pr (push) Has been cancelled
Prepare release 1.8.8
2021-08-06 14:45:16 -04:00

33 lines
675 B
TypeScript

import { WebhookPayload } from './interfaces';
export declare class Context {
/**
* Webhook payload object that triggered the workflow
*/
payload: WebhookPayload;
eventName: string;
sha: string;
ref: string;
workflow: string;
action: string;
actor: string;
job: string;
runNumber: number;
runId: number;
apiUrl: string;
serverUrl: string;
graphqlUrl: string;
/**
* Hydrate the context from the environment
*/
constructor();
get issue(): {
owner: string;
repo: string;
number: number;
};
get repo(): {
owner: string;
repo: string;
};
}