(options: PublishGateOptions): PublishGate import {decide_publish_gate} from '@fuzdev/fuz_gitops/publish_gate.js'; Decides whether a publish run must block, prompt for confirmation, or proceed without prompting, from the pre-execution inputs.
blocked: a real publish whose plan has errors — fail loud before prompting. The executor enforces this too, so--no-plancan't bypass the gate; this branch only avoids prompting for (and printing the "this will publish" banner of) a plan that can't run.confirm: a real publish that shows its plan — the user must confirm interactively.proceed: a dry run, or a--no-planreal publish — no prompt.
options
returns
PublishGate