← all policies/chhhee10/deploy-guard
━━ deploys
block-prod-deploy
Block one-command deploys to production (vercel, fly, netlify, wrangler, serverless, eb)
━━ when it runs
PreToolUsebefore the tool call runs. a denial here means the command never executes at all.
watchesevery tool the event fires for — not narrowed to particular tools
this pack enforces: a match returns a real denial rather than being recorded and discarded. what the denial then does depends on the event above.
━━ install
this one is on by default — taking the pack without flags turns it on, and the picker shows it pre-ticked.
- just this policy
- the whole pack
- turn just this off
- pick from a list
- uninstall the pack
ships in chhhee10/deploy-guard · v1.0.0 · source ↗
━━ also in deploys
- block-mutable-image-pushBlock docker push of a mutable tag (:latest, :prod, :stable) — push an immutable tag instead
- warn-migration-deployAsk for a rollback plan before running a database migration