github.com/nektos/act@v0.2.63/pkg/runner/testdata/actions/node12/node_modules/@actions/github/lib/context.d.ts (about)

     1  import { WebhookPayload } from './interfaces';
     2  export declare class Context {
     3      /**
     4       * Webhook payload object that triggered the workflow
     5       */
     6      payload: WebhookPayload;
     7      eventName: string;
     8      sha: string;
     9      ref: string;
    10      workflow: string;
    11      action: string;
    12      actor: string;
    13      job: string;
    14      runNumber: number;
    15      runId: number;
    16      /**
    17       * Hydrate the context from the environment
    18       */
    19      constructor();
    20      get issue(): {
    21          owner: string;
    22          repo: string;
    23          number: number;
    24      };
    25      get repo(): {
    26          owner: string;
    27          repo: string;
    28      };
    29  }