github.com/jfrog/frogbot@v1.1.1-0.20231221090046-821a26f50338/action/node_modules/@actions/github/lib/interfaces.d.ts (about)

     1  export interface PayloadRepository {
     2      [key: string]: any;
     3      full_name?: string;
     4      name: string;
     5      owner: {
     6          [key: string]: any;
     7          login: string;
     8          name?: string;
     9      };
    10      html_url?: string;
    11  }
    12  export interface WebhookPayload {
    13      [key: string]: any;
    14      repository?: PayloadRepository;
    15      issue?: {
    16          [key: string]: any;
    17          number: number;
    18          html_url?: string;
    19          body?: string;
    20      };
    21      pull_request?: {
    22          [key: string]: any;
    23          number: number;
    24          html_url?: string;
    25          body?: string;
    26      };
    27      sender?: {
    28          [key: string]: any;
    29          type: string;
    30      };
    31      action?: string;
    32      installation?: {
    33          id: number;
    34          [key: string]: any;
    35      };
    36      comment?: {
    37          id: number;
    38          [key: string]: any;
    39      };
    40  }