feat: resolve referral, rate-limit, and sub-account issues #78
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: Migration rollback check | |
| # Ensures every Prisma migration ships a rollback.sql so production always has a | |
| # documented recovery path. See scripts/check-migration-rollback.sh. | |
| on: | |
| pull_request: | |
| paths: | |
| - 'prisma/migrations/**' | |
| - 'scripts/check-migration-rollback.sh' | |
| - '.github/workflows/migration-rollback-check.yml' | |
| push: | |
| branches: [main] | |
| paths: | |
| - 'prisma/migrations/**' | |
| jobs: | |
| rollback-check: | |
| name: Require rollback.sql per migration | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: Check every migration has a rollback.sql | |
| run: bash scripts/check-migration-rollback.sh |