1
0
mirror of https://github.com/stCarolas/setup-maven.git synced 2025-04-03 02:45:37 +00:00
setup-maven/node_modules/@actions/github/lib/context.d.ts
2019-12-07 16:09:23 +03:00

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