Files
release-action/node_modules/@actions/github/lib/context.d.ts
Nick Cipollo 8f5d96dce1
Some checks failed
PR Checks / check_pr (push) Has been cancelled
Prepare v1.8.2 release
2021-03-21 20:02:09 -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;
};
}