Skip to content

RequiredChecksInput

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

Everything requiredChecksVerdict reads: one commit’s runs and statuses and what must be green.

checkRuns: AggregateCheckRun[]

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

Every check run on the commit, any order and any number per name.


commitStatuses: AggregateCommitStatus[]

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

The commit statuses, newest first as the API returns them.


expected: string[]

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

Check ids: each needs a check run named <id> / .... An empty list makes the verdict none.


optional incomplete?: string

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

Set when the state could not be read in full (a truncated list, a failed read): the verdict is then none.


statuses: string[]

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

Contexts that must reach success, as a check run named like the context, else as a commit status.