Skip to main content
Version: v5.8.0

opschain approvals approve

packs:change-governance

opschain approvals approve <run-id> [--comment <text>]

Records your approval row against every unsatisfied checklist line you may approve (ChangeGovernanceService.ApproveChecklist). Quorum counts distinct identities; the requester and the change owner are refused by name on self_approval: false lines. Completing the last line releases the subject to the ordinary queued path — or holds it when a matched policy requires an open admitting maintenance window, which the command reports with the hold reason.

On a change record's checklist (kind change_record; the id is the approval request's, shown by opschain changes show and the inbox), you also need update on the record owner's change_records_approve rule path (not found otherwise), approving is a human verb (an agent, a service account or a step's credential is refused by name), and the record's owner principal is excluded like the requester. Completing the quorum approves the record (opschain docs resources/change_record): the command answers change record <code> was approved, where a run's checklist answers <run-id> was released to run.

-o json / -o yaml emit the typed response (the refreshed checklist, released, held_reason).

Flags​

FlagMeaning
--comment <text>An optional comment recorded on the approval row.

Exit codes​

CodeMeaning
0The approval was recorded (the output says whether the subject released, held, or still awaits further approvals).
1Refused — not an approver, the named self-approval exclusion, an already-recorded identity, a finalised checklist, or a missing required change reference.
2Usage error, including a missing server target.