mirror of
https://github.com/ASzc/change-string-case-action.git
synced 2024-11-24 06:03:50 +08:00
30 lines
608 B
TypeScript
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;
|
||
|
};
|
||
|
}
|