mirror of
https://github.com/ASzc/change-string-case-action.git
synced 2024-11-23 21:03:52 +08:00
33 lines
675 B
TypeScript
33 lines
675 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;
|
|
apiUrl: string;
|
|
serverUrl: string;
|
|
graphqlUrl: string;
|
|
/**
|
|
* Hydrate the context from the environment
|
|
*/
|
|
constructor();
|
|
get issue(): {
|
|
owner: string;
|
|
repo: string;
|
|
number: number;
|
|
};
|
|
get repo(): {
|
|
owner: string;
|
|
repo: string;
|
|
};
|
|
}
|