Skip to content

RequiredChecksVerdict

Defined in: cli/astromech/src/aggregate/required-checks-verdict/required-checks-verdict.type.ts:31

The verdict, shaped like the CLI’s PullRequestChecks (without the sha), so a caller can pass it on as it is.

failing: RequiredChecksFailure[]

Defined in: cli/astromech/src/aggregate/required-checks-verdict/required-checks-verdict.type.ts:35

The failing checks of the commit, the required ones first; empty unless something failed.


optional pending?: string[]

Defined in: cli/astromech/src/aggregate/required-checks-verdict/required-checks-verdict.type.ts:37

Ids of the required checks not yet green and not failed (unposted, running, cancelled); absent when none.


state: RequiredChecksState

Defined in: cli/astromech/src/aggregate/required-checks-verdict/required-checks-verdict.type.ts:33

success only when every required check is green; pending while one can still change; none when unknown.