github.com/zppinho/prow@v0.0.0-20240510014325-1738badeb017/cmd/deck/static/api/github.ts (about) 1 export type MergeableState = "MERGEABLE" | "CONFLICTING" | "UNKNOWN"; 2 export type StatusState = "EXPECTED" | "ERROR" | "FAILURE" | "PENDING" | "SUCCESS"; 3 4 export interface Context { 5 Context: string; 6 Description: string; 7 State: StatusState; 8 } 9 10 export interface Commit { 11 Status: { 12 Contexts: Context[]; 13 }; 14 OID: string; 15 } 16 17 export interface Milestone { 18 Title: string; 19 } 20 21 export interface PullRequest { 22 Number: number; 23 HeadRefOID: string; 24 Mergeable: MergeableState; 25 }