You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
608 B
29 lines
608 B
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; |
|
}; |
|
}
|
|
|