mirror of
https://code.forgejo.org/actions/setup-node.git
synced 2024-11-24 15:00:59 -05:00
26 lines
555 B
TypeScript
26 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;
|
|
};
|
|
}
|