The orchestration class.

Constructors

  • Parameters

    • pullRequestNumber: number
    • config: CheckGroupConfig
    • context: Context<"pull_request"> | Context<"check_run">
    • sha: string
    • startTime: string

    Returns CheckGroup

Properties

context: Context<"pull_request"> | Context<"check_run">
pullRequestNumber: number
sha: string
startTime: string

Methods

  • Gets a list of files that are modified in a pull request.

    Returns Promise<string[]>

  • Fetches a list of already finished checks.

    Parameters

    • sha: string

      The sha of the commit to check

    Returns Promise<Record<string, string>>

  • Parameters

    • name: string
    • title: string
    • summary: string
    • details: string

    Returns Promise<void>

  • Parameters

    • name: string
    • title: string
    • summary: string
    • details: string

    Returns Promise<void>

  • Post a starting check

    Parameters

    • name: string
    • title: string
    • summary: string
    • details: string

    Returns Promise<void>

  • Parameters

    • name: string
    • title: string
    • summary: string
    • details: string

    Returns Promise<void>

Generated using TypeDoc