Skip to content
Esc
  • Type what you're looking for in your own words: “Slack”, “503”, “price”.

postship gate

Open incidents + last ship: is production shippable? No quota.

Updated on 17 September 2026

On this page

One line in the workflow that answers “is current production shippable?”: exits 1 when an incident is open, 2 when no ship is tracked, otherwise the last ship's verdict (with the threshold). It is incidents --fail-if-open plus ship --require --min-score in one call, without burning quota.

This command does not consume the quota: it is a read.

What PostShip does

Usage

postship gate --project <id> [--min-score <n>] [--json]

Options

OptionWhat it does
--project, -p <id>The project.
--min-score <n>The ship's threshold.
--jsonIncidents and ship, raw.

Examples

postship gate -p 3f1c… --min-score 80

Before merging into main.

Exit codes

0 nothing open, good ship · 1 open incident, failing ship or below threshold · 2 no ship, project not found, token, network.

See also

The postship command — every command, installation and sign-in · CI recipes — complete workflows to copy.

In the terminal, postship help gate says the same; postship docs gate opens this page.

postship gate — Docs — PostShip