Merge pull request #1162 from Mirabel64/fix/issue-1079-audit-gate #1
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 Audit | |
| on: | |
| push: | |
| branches: [main, develop] | |
| pull_request: | |
| branches: [main, develop] | |
| jobs: | |
| check-migration-sources: | |
| name: Check single migration source of truth | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v7 | |
| - name: Make audit script executable | |
| run: chmod +x scripts/check-no-backend-migrations.sh | |
| - name: Verify no active migrations in backend/migrations/ | |
| run: ./scripts/check-no-backend-migrations.sh |