mirror of
				https://kkgithub.com/actions/setup-node.git
				synced 2025-10-31 18:51:54 +08:00 
			
		
		
		
	
		
			
				
	
	
		
			27 lines
		
	
	
		
			555 B
		
	
	
	
		
			TypeScript
		
	
	
	
	
	
			
		
		
	
	
			27 lines
		
	
	
		
			555 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;
 | |
|     /**
 | |
|      * Hydrate the context from the environment
 | |
|      */
 | |
|     constructor();
 | |
|     readonly issue: {
 | |
|         owner: string;
 | |
|         repo: string;
 | |
|         number: number;
 | |
|     };
 | |
|     readonly repo: {
 | |
|         owner: string;
 | |
|         repo: string;
 | |
|     };
 | |
| }
 | 
