Skip to content

deriveReviewStatus

deriveReviewStatus(input): "pending" | "approved" | "rejected" | null

Defined in: packages/core/src/models/build-review-status.ts:30

The status the verdicts give the build, or null when they do not decide it (testing is on, or review is off and the build was accepted when it was published).

  • rejected when any reviewer’s latest verdict is rejected;
  • approved once the required approvals are present among the latest verdicts;
  • pending otherwise.

ReviewStatusInput

"pending" | "approved" | "rejected" | null