Skip to content

Instantly share code, notes, and snippets.

@uc-compass-bot
Created November 7, 2019 19:00
Show Gist options
  • Save uc-compass-bot/585703dc62c3a477339bf89dc13c7f82 to your computer and use it in GitHub Desktop.
Save uc-compass-bot/585703dc62c3a477339bf89dc13c7f82 to your computer and use it in GitHub Desktop.
import {ChecksUpdateResponse, ChecksUpdateParamsOutput, ChecksCreateResponse, Response, ReposCompareCommitsResponse} from '@octokit/rest';
export interface ICheckRun {
start(): Promise<Response<ChecksCreateResponse> | false>;
run(compare: Response<ReposCompareCommitsResponse>): Promise<void>;
finish(success: boolean, output?: ChecksUpdateParamsOutput): Promise<Response<ChecksUpdateResponse>>;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment