fix(postgrest): apply per-tenant db_max_rows on GET/RPC reads (#10) #26
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: secret-scan | |
| # Scans the full git history + the PR diff for leaked secrets (API keys, tokens, | |
| # private keys) with gitleaks. Fails the build if anything is found, so nothing | |
| # sensitive can be merged or released. Allowlist for known test fixtures lives in | |
| # .gitleaks.toml. | |
| on: | |
| push: | |
| branches: [main] | |
| tags: ['v*', 'nubase_cli@*'] | |
| pull_request: | |
| workflow_dispatch: | |
| permissions: | |
| contents: read | |
| jobs: | |
| gitleaks: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 0 # full history so the scan covers every commit | |
| - name: Install gitleaks | |
| run: | | |
| VERSION=8.30.1 | |
| curl -sSL "https://github.com/gitleaks/gitleaks/releases/download/v${VERSION}/gitleaks_${VERSION}_linux_x64.tar.gz" \ | |
| | sudo tar -xz -C /usr/local/bin gitleaks | |
| gitleaks version | |
| - name: Scan git history for secrets | |
| run: gitleaks detect --source . --config .gitleaks.toml --redact -v |