change-string-case/node_modules/@actions/github/lib/context.d.ts

33 lines
675 B
TypeScript
Raw Permalink Normal View History

2022-11-04 00:55:07 +08:00
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;
2023-10-26 04:27:07 +08:00
apiUrl: string;
serverUrl: string;
graphqlUrl: string;
2022-11-04 00:55:07 +08:00
/**
* Hydrate the context from the environment
*/
constructor();
get issue(): {
owner: string;
repo: string;
number: number;
};
get repo(): {
owner: string;
repo: string;
};
}