feat(paycraft): production hardening — RLS/IDOR fixes, realtime, per-platform trials, SDK paywall + RevenueCat-style overview #275
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Zero-leak check (G-2) | |
| # Phase 2 T8 of paycraft-v2-production-readiness — runs the G-2 zero-leak | |
| # validator on every PR + push to dev. Fails CI if any production | |
| # code path still references the legacy `paycraft.cloud` domain (allowlist | |
| # at infra/zero-leak-check.sh — currently CHANGELOG.md v2.0 announcement | |
| # only). | |
| on: | |
| pull_request: | |
| branches: [dev, main] | |
| push: | |
| branches: [dev, main] | |
| workflow_dispatch: | |
| permissions: | |
| contents: read | |
| jobs: | |
| zero-leak: | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 5 | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Run G-2 zero-leak check | |
| run: bash infra/zero-leak-check.sh | |
| - name: Annotate failure | |
| if: failure() | |
| run: | | |
| echo "::error::G-2 zero-leak check FAILED — production code references the legacy paycraft.cloud domain." | |
| echo "::error::Resolve per the script output, OR add an explicit allowlist entry with reason." |