deploy-gate icon indicating copy to clipboard operation
deploy-gate copied to clipboard

Show direct approval URL in CI output when request is created

Open cgoldber82 opened this issue 8 months ago • 1 comments

Problem

When the gate creates a deploy request, the CI output says 'Go to: <base_url>/pp/deploy-requests'. This is:

  1. Masked by GitHub secrets (shows ***)
  2. A generic dashboard URL, not the specific request
  3. Wrong domain (permissionprotocol.com vs app.permissionprotocol.com)

Acceptance Criteria

  • [ ] When request auto-creates successfully, output includes direct link: 'Approve here: https://app.permissionprotocol.com/review/'
  • [ ] URL is NOT behind a secret mask (use a constructed URL, not the base URL secret)
  • [ ] Link goes directly to the approval page for THIS specific request

Priority

Medium — improves conversion from 'gate blocked' to 'approved'.

cgoldber82 avatar Mar 09 '26 19:03 cgoldber82

Already implemented on main. The action constructs the approval URL from the response's requestId as a hardcoded https://permissionprotocol.com/review/{id} — not masked by GitHub secrets, and goes directly to the specific request. Shipped as part of the scannable output refactor (PR #11).

rodchalski avatar Mar 11 '26 19:03 rodchalski