permission-protocol/Deploy Gate

Block AI agents from production deploys without a human-signed Ed25519 receipt. Fails closed by default.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Activelast commit May 14, 2026
License
MIT

Pinned Snippet

workflow.ymlSHA-pinned
uses: permission-protocol/deploy-gate@bbecc9c66650f023f3a97d41395dc91318ad889b # v2.1.0

tags can be moved; commit SHAs can't. why a SHA?

namedescriptionrequireddefault
pp-api-keyPermission Protocol API keyyes
pp-base-urlPermission Protocol base URLnohttps://app.permissionprotocol.com
pp-request-create-tokenOptional token to auto-create deploy requests when no receipt existsno""
environmentDeployment environmentnoproduction
capabilityCapability required for this gatenodeploy:production
redeemRedeem receipt on verify (use false for PR gates, true for deploy workflows)nofalse
protected-pathsRegex pattern for protected paths used for risk assessment metadata (not gating)no^(deploy/|\.github/workflows/)
fail-on-missingFail if no receipt existsnotrue
fail-open-timeoutSeconds to wait for PP API before treating it as unavailableno30
fail-modeFailure policy when PP API is unavailable in non-production environments: closed (default) or opennoclosed
production-environmentsComma-separated environment names treated as production and always forced fail-closednoproduction,prod,live
post-commentPost or update a Permission Protocol comment on PRsnotrue
namedescription
approvedWhether the deploy was approved
receipt-idReceipt ID if returned by API
decisionDecision from receipt (APPROVED/DENIED/PENDING)
error-codeError code from verification response
error-messageError message from verification response
request-idDeploy request ID (if created)
approval-urlURL to approve the deploy