Files
release-action/node_modules/@actions/github/lib/context.d.ts
Nick Cipollo 4b71ee3b25
Some checks failed
PR Checks / check_pr (push) Has been cancelled
Prepare release 1.7.3
2020-10-02 10:44:05 -04:00

30 lines
608 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;
/**
* Hydrate the context from the environment
*/
constructor();
get issue(): {
owner: string;
repo: string;
number: number;
};
get repo(): {
owner: string;
repo: string;
};
}